You are here

public function SelectionPluginManagerInterface::getSelectionGroups in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface::getSelectionGroups()

Gets the selection plugins that can reference a specific entity type.

Parameters

string $entity_type_id: A Drupal entity type ID.

Return value

array An array of selection plugins grouped by selection group.

1 method overrides SelectionPluginManagerInterface::getSelectionGroups()
SelectionPluginManager::getSelectionGroups in core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php
Gets the selection plugins that can reference a specific entity type.

File

core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php, line 36

Class

SelectionPluginManagerInterface
Defines an interface for the entity reference selection plugin manager.

Namespace

Drupal\Core\Entity\EntityReferenceSelection

Code

public function getSelectionGroups($entity_type_id);