Problem/Motivation
#2920682: Add config validation for plugin IDs added the PluginExists
constraint and used it in 2 places.
There are many more places where we need to use this.
Status | Manager | Schema | Interface |
---|---|---|---|
In patch | plugin.manager.action | action.configuration. | \Drupal\Core\Action\ActionInterface |
N/A | plugin.manager.archiver | ||
Done | plugin.manager.block | ||
plugin.manager.ckeditor | |||
plugin.manager.condition | condition.plugin. | ||
plugin.manager.config_translation.mapper | |||
plugin.manager.core.layout | layout_plugin.settings. | \Drupal\Core\Layout\LayoutInterface | |
N/A | plugin.manager.display_variant | ||
Done | plugin.manager.editor | ||
N/A | plugin.manager.element_info | ||
plugin.manager.entity_reference_selection | |||
plugin.manager.field.field_type | |||
plugin.manager.field.formatter | |||
plugin.manager.field.widget | |||
In patch | plugin.manager.filter | ||
plugin.manager.help_section | |||
plugin.manager.help_section_topics | |||
plugin.manager.help_topic | |||
In patch | plugin.manager.image.effect | image.style.effects. | \Drupal\image\ImageEffectInterface |
plugin.manager.language_negotiation_method | |||
plugin.manager.layout_builder.section_storage | |||
plugin.manager.link_relation_type | |||
plugin.manager.mail | |||
In patch | plugin.manager.media.source | media.type. | \Drupal\media\MediaSourceInterface |
plugin.manager.menu.contextual_link | |||
plugin.manager.menu.link | |||
plugin.manager.menu.local_action | |||
plugin.manager.menu.local_task | |||
plugin.manager.migrate.destination | |||
plugin.manager.migrate.field | |||
plugin.manager.migrate.id_map | |||
plugin.manager.migrate.process | |||
plugin.manager.migrate.source | |||
plugin.manager.migration | |||
plugin.manager.queue_worker | |||
In patch | plugin.manager.rest | ||
In patch | plugin.manager.search | search.page. | Drupal\search\Plugin\SearchInterface |
plugin.manager.tour.tip | |||
plugin.manager.views.access | |||
In patch | plugin.manager.views.area | ||
In patch | plugin.manager.views.argument | ||
plugin.manager.views.argument_default | |||
plugin.manager.views.argument_validator | |||
plugin.manager.views.cache | |||
In patch | plugin.manager.views.display | ||
plugin.manager.views.display_extender | |||
In patch | plugin.manager.views.exposed_form | ||
In patch | plugin.manager.views.field | ||
In patch | plugin.manager.views.filter | ||
plugin.manager.views.join | |||
In patch | plugin.manager.views.pager | ||
In patch | plugin.manager.views.query | ||
plugin.manager.views.relationship | |||
In patch | plugin.manager.views.row | ||
In patch | plugin.manager.views.sort | ||
In patch | plugin.manager.views.style | ||
plugin.manager.views.wizard | |||
plugin.manager.workflows.type |
Steps to reproduce
Proposed resolution
- Adopt it in all relevant places.
- Write test that verifies that all default config in Drupal core complies with the validation constraints, by adding a new
testValidity()
method to\Drupal\KernelTests\Core\Config\DefaultConfigTest
Remaining tasks
See above.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A