function SelectionPluginManagerInterface::getSelectionGroups

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface::getSelectionGroups()
  2. 10 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface::getSelectionGroups()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.