Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here are all the instances I could find (a few false positives in there):
$ ag 'flag..id[^(]'
flag.module
421: $flag_keys[] = $flag->id . '-' . $action;
src/FlagServiceProvider.php
22: $container->setDefinition("flag.$id", $original_definition);
23: $new_definition = new Definition('Drupal\flag\Access\CsrfAccessCheck', [new Reference("flag.$id"), new Reference('current_user')]);
src/Form/FlagFormBase.php
65: $form['#flag_name'] = $flag->id;
80: '#default_value' => $flag->id,
330: if ($flag->id != $form['#flag_name']) {
Comment | File | Size | Author |
---|---|---|---|
#5 | 2821351.5.protectedFlagID.patch | 2.77 KB | socketwench |
Comments
Comment #2
socketwench CreditAttribution: socketwench commentedImported Flag::id changes from #2821272: Flag - protect weight and uuid
Comment #5
socketwench CreditAttribution: socketwench commentedFix for FlagViewsReleationship.
Comment #7
joachim CreditAttribution: joachim as a volunteer commentedThanks!