recipe.yml

core/recipes/restricted_html_format/recipe.yml

File

core/recipes/restricted_html_format/recipe.yml

View source
  1. name: 'Restricted HTML'
  2. description: 'Provides "Restricted HTML" text format.'
  3. type: 'Text format'
  4. install:
  5. - filter
  6. config:
  7. # If the restricted_html format already exists, leave it as-is.
  8. strict: false
  9. import:
  10. filter: '*'
  11. actions:
  12. user.role.anonymous:
  13. grantPermission: 'use text format restricted_html'

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