You are here

public function Action::getPlugin in Drupal 9

Same name and namespace in other branches
  1. 8 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 106

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Entity

Code

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