function SelectionPluginManagerInterface::getPluginId

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface::getPluginId()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface::getPluginId()
  3. 11.x core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface::getPluginId()

Gets the plugin ID for a given target entity type and base plugin ID.

Parameters

string $target_type: The target entity type.

string $base_plugin_id: The base plugin ID (e.g. 'default' or 'views').

Return value

string The plugin ID.

File

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

Class

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

Namespace

Drupal\Core\Entity\EntityReferenceSelection

Code

public function getPluginId($target_type, $base_plugin_id);

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