You are here

public function Workflow::getPluginCollections in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workflows/src/Entity/Workflow.php \Drupal\workflows\Entity\Workflow::getPluginCollections()
  2. 9 core/modules/workflows/src/Entity/Workflow.php \Drupal\workflows\Entity\Workflow::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/workflows/src/Entity/Workflow.php, line 127

Class

Workflow
Defines the workflow entity.

Namespace

Drupal\workflows\Entity

Code

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