You are here

public function KeyInterface::getPlugin in Key 8

Returns the configured plugin of the requested type.

Parameters

string $type: The plugin type to return.

Return value

\Drupal\key\Plugin\KeyPluginInterface The plugin.

1 method overrides KeyInterface::getPlugin()
Key::getPlugin in src/Entity/Key.php
Returns the configured plugin of the requested type.

File

src/KeyInterface.php, line 37

Class

KeyInterface
Provides an interface defining a Key entity.

Namespace

Drupal\key

Code

public function getPlugin($type);