- First commit to issue fork.
- πΊπΈUnited States dcam
I converted the patch in #2 to an MR. Then I fixed it because the return value from
calculateDependencies()
was incorrect. I added a test. At some point I realized that this needed an update path. So I wrote that and added a test for it too.I did not address the question in #13. I wasn't sure if it's necessary since plugins are @internal.
- π¬π§United Kingdom MrDaleSmith
Change applies cleanly, test pass and the correct dependency is now added to the exported config. I think this is OK to go.
- πΊπΈUnited States smustgrave
Probably need to update any default views that ship with core to include these. Example views.view.frontpage.yml in node, there may be others.
- πΊπΈUnited States dcam
Results of
grep -rn "plugin_id: text$" --include views.view.*.yml
:core/profiles/demo_umami/config/install/views.view.frontpage.yml:303: plugin_id: text core/profiles/demo_umami/config/install/views.view.frontpage.yml:373: plugin_id: text core/modules/content_translation/tests/modules/content_translation_test_views/test_views/views.view.test_entity_translations_link.yml:104: plugin_id: text core/modules/views/tests/fixtures/update/views.view.test_filter_format_dependencies.yml:164: plugin_id: text core/modules/views/tests/fixtures/update/views.view.test_entity_id_argument_update.yml:193: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_empty.yml:34: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_display_empty.yml:40: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_entity_id_argument.yml:160: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml:109: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_tokens.yml:141: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml:50: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml:56: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml:148: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml:154: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml:161: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml:167: plugin_id: text core/modules/views/tests/modules/views_test_config/test_views/views.view.test_token_view.yml:205: plugin_id: text core/modules/views_ui/tests/modules/views_ui_test/config/install/views.view.sa_contrib_2013_035.yml:178: plugin_id: text
- πΊπΈUnited States dcam
Not all of those views specified the content of the text, so there was nothing to update in those cases. But I updated the ones that needed a dependency.
- πΊπΈUnited States smustgrave
Believe all views in core have been addressed, double checked that views.view.front in node actually didn't have any format use also (just to follow up on #22)
The Needs Review Queue Bot β tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- Status changed to RTBC
2 days ago 10:07pm 29 June 2025 - πΊπΈUnited States xjm
It even has an upgrade path test. Excellent.
Saving issue credits.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
xjm β credited larowlan β .
- πΊπΈUnited States xjm
OK, I asked in committer Slack about the constructor deprecation, and got feedback from @larowlan:
I would ask for it - even though the policy doesn't require it.
It takes us not much effort and makes minor to minor updates less painful...Which is what I'm more comfortable with anyway; I was just trying not to be over-restrictive or NW unnecessarily in case we had become less restrictive about this since I last worked the RTBC queue. π
So let's add a default null value and a deprecation to the constructor. However, it does not require a deprecation test, nor a change record mention of the added service.
...Though, we probably should have a change record of the added config dependency. Generally, anything that needs an upgrade path also wants a CR.
Thanks everyone!
- πΊπΈUnited States dcam
I added the change record. I haven't addressed other feedback yet.