You are here

public function PluginTypeManagerInterface::getPluginType in Plugin 8.2

Gets a known plugin type.

Parameters

string $id: The plugin type's ID.

Return value

\Drupal\plugin\PluginType\PluginTypeInterface

Throws

\InvalidArgumentException Thrown if the plugin type is unknown.

1 method overrides PluginTypeManagerInterface::getPluginType()
PluginTypeManager::getPluginType in src/PluginType/PluginTypeManager.php
Gets a known plugin type.

File

src/PluginType/PluginTypeManagerInterface.php, line 31

Class

PluginTypeManagerInterface
Defines a plugin type manager.

Namespace

Drupal\plugin\PluginType

Code

public function getPluginType($id);