function Action::getPlugin

Same name in other branches
  1. 9 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getPlugin()
  2. 8.9.x core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getPlugin()
  3. 11.x core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::getPlugin()

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 129

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.