You are here

public function Action::getPlugin in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getPlugin()

Returns the operation plugin.

Return value

\Drupal\Core\Action\ActionInterface

Overrides ActionConfigEntityInterface::getPlugin

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

File

core/modules/system/src/Entity/Action.php, line 104
Contains \Drupal\system\Entity\Action.

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Entity

Code

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