You are here

public function FilterFormatInterface::filters in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::filters()
  2. 10 core/modules/filter/src/FilterFormatInterface.php \Drupal\filter\FilterFormatInterface::filters()

Returns the ordered collection of filter plugin instances or an individual plugin instance.

Parameters

string $instance_id: (optional) The ID of a filter plugin instance to return.

Return value

\Drupal\filter\FilterPluginCollection|\Drupal\filter\Plugin\FilterInterface Either the filter collection or a specific filter plugin instance.

1 method overrides FilterFormatInterface::filters()
FilterFormat::filters in core/modules/filter/src/Entity/FilterFormat.php
Returns the ordered collection of filter plugin instances or an individual plugin instance.

File

core/modules/filter/src/FilterFormatInterface.php, line 21

Class

FilterFormatInterface
Provides an interface defining a filter format entity.

Namespace

Drupal\filter

Code

public function filters($instance_id = NULL);