You are here

public function SelectionPluginManagerInterface::getPluginId in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManagerInterface.php \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface::getPluginId()
  2. 10 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.

1 method overrides SelectionPluginManagerInterface::getPluginId()
SelectionPluginManager::getPluginId in core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php
Gets the plugin ID for a given target entity type and base 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);