You are here

public function KeyPluginBase::getPluginType in Key 8

Returns the type of plugin.

Return value

string The type of plugin: "key_type", "key_provider", or "key_input".

Overrides KeyPluginInterface::getPluginType

File

src/Plugin/KeyPluginBase.php, line 37

Class

KeyPluginBase
Defines a base class for all Key plugins.

Namespace

Drupal\key\Plugin

Code

public function getPluginType() {
  return $this->pluginDefinition['plugin_type'];
}