You are here

public function PluginDefinition::getId in Plugin 8.2

Gets the plugin ID.

Return value

string The plugin ID.

Overrides PluginDefinitionInterface::getId

File

src/PluginDefinition/PluginDefinition.php, line 48

Class

PluginDefinition
Provides a plugin definition.

Namespace

Drupal\plugin\PluginDefinition

Code

public function getId() {
  return $this->id;
}