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 115

Class

FilterFormat
Represents a text format.

Namespace

Drupal\filter\Entity

Code

protected $filters = array();
doc_Drupal
2016-10-29 09:14:31
Comments
Leave a Comment

Please login to continue.