FilterFormat::$filters
Same name in other branches
- 9 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::filters
- 8.9.x core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::filters
- 11.x core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::filters
Configured filters for this text format.
An associative array of filters assigned to the text format, keyed by the instance ID of each filter and using the properties:
- id: The plugin ID of the filter plugin instance.
- provider: The name of the provider that owns the filter.
- status: (optional) A Boolean indicating whether the filter is enabled in the text format. Defaults to FALSE.
- weight: (optional) The weight of the filter in the text format. Defaults to 0.
- settings: (optional) An array of configured settings for the filter.
Use FilterFormat::filters() to access the actual filters.
Type: array
File
-
core/
modules/ filter/ src/ Entity/ FilterFormat.php, line 125
Class
- FilterFormat
- Represents a text format.
Namespace
Drupal\filter\EntityCode
protected $filters = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.