public function Action::getPlugin

Returns the operation plugin.

Return value

\Drupal\Core\Action\ActionInterface

Overrides ActionConfigEntityInterface::getPlugin

1 call to Action::getPlugin()
Action::isConfigurable in drupal/core/modules/system/lib/Drupal/system/Plugin/Core/Entity/Action.php
Returns whether or not this action is configurable.

File

drupal/core/modules/system/lib/Drupal/system/Plugin/Core/Entity/Action.php, line 98
Contains \Drupal\system\Plugin\Core\Entity\Action.

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Plugin\Core\Entity

Code

public function getPlugin() {
  return $this->pluginBag
    ->get($this->plugin);
}