Follow-up to #2811663-11: Rename Action module to Actions UI in the UI and in comments
B.C. eligible see https://www.drupal.org/core/d8-bc-policy#plugins
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | 2815379-test-only.patch | 5.27 KB | andypost |
| #15 | 2815379-11.patch | 11.03 KB | andypost |
Comments
Comment #6
andypostI think plugins should go to core instead of system
Comment #7
andypostAdded update hook, probably we need to resave all views which using bulk actions because some of them could use configured actions and have action module in dependencies
Comment #8
tim.plunkettOnly nits left
Nit, can use actual typehinting in the closure
function ActionConfigEntityInterface $action)This can be
return ($action->isConfigurable() ...instead of needing an
ifComment #9
andypostNow needs CR, guess upgrade tests not needed
Comment #10
msankhala commentedI can confirm the patch #9 applies cleanly.
Comment #11
jibranWe need the upgrade path tests.
We also need to deprectate the existing classes and tests for the deprecations.Just read https://www.drupal.org/core/d8-bc-policy#plugins.Comment #12
jibranWhy do you think that?
Comment #13
jibranComment #14
andypostPatch moves config schema & test to core as well
Filed CR https://www.drupal.org/node/3018300
@jibran which kind of upgrade tests you can suggest? I can imagine only ones that configured actions did change their dependencies
Comment #15
andypostI bet this should be enough, test and fixture added to system module where other action updates live
Comment #16
jibranSomething like
\Drupal\Tests\system\Functional\Update\UpdateActionsWithEntityPluginsTestComment #17
andypost@jibran Anything left here?
Comment #18
jibranThanks, this is good to go.
Comment #19
catchThe patch looks fine but it would be good to have a test-only patch here.
I think it's OK to just move these since plugins are @internal.
Comment #20
andypost@catch do you mean this kind of patch?
Comment #22
andypostBack to rtbc
Comment #23
catchCommitted 281c6f0 and pushed to 8.7.x. Thanks!
Comment #25
andypostpublished CR
Comment #26
andypostThe test is too strict should check only for dependencies, fixing in #2677116-26: Allow setting message type for message action plugin
Comment #28
jeroentCreated #3053656: Rename action.post_udate.php to action.post_update.php so that the upgrade path runs correctly