core.date_format.invalid.yml

Same filename in other branches
  1. 11.x core/tests/fixtures/recipes/invalid_config/config/core.date_format.invalid.yml
core/tests/fixtures/recipes/invalid_config/config/core.date_format.invalid.yml

File

core/tests/fixtures/recipes/invalid_config/config/core.date_format.invalid.yml

View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. # Depend on the valid date format in order to ensure it is imported first,
  6. # which means we can ensure it was rolled back when this date format raises
  7. # a validation error.
  8. - core.date_format.valid
  9. id: invalid
  10. # Null isn't a valid value for the label, so this should raise a validation
  11. # error.
  12. label: null
  13. locked: false
  14. pattern: 'F j, Y'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.