You are here

public function FilterFormat::getPluginCollections in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::getPluginCollections()
  2. 9 core/modules/filter/src/Entity/FilterFormat.php \Drupal\filter\Entity\FilterFormat::getPluginCollections()

Gets the plugin collections used by this object.

Return value

\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.

Overrides ObjectWithPluginCollectionInterface::getPluginCollections

File

core/modules/filter/src/Entity/FilterFormat.php, line 155

Class

FilterFormat
Represents a text format.

Namespace

Drupal\filter\Entity

Code

public function getPluginCollections() {
  return [
    'filters' => $this
      ->filters(),
  ];
}