function Action::getPlugin

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

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);
}

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