Issue #3570717 by dydave: Made configuration schema fully validatable.

https://www.drupal.org/project/admin_toolbar/issues/3570717

Made configuration schema fully validatable:

  • Added the constraints:FullyValidatable property to all modules configuration schema.
  • Added constants final class AdminToolbarHoverIntentTimeoutRange and enum AdminToolbarStickyBehavior used in admin_toolbar.schema.yml for Choice constraints.
  • Replaced all keys in classes using the constants: AdminToolbarSettingsForm, AdminToolbarSettingsFormTest.
  • Added base Kernel tests abstract class AdminToolbarConfigSchemaTestBase so it could be extended by tests classes so the data provider providerAdminToolbarConfigSchema method could be overridden with specific config values.
  • Updated all modules config schema files to add validation constraints.

Merge request reports

Loading