public function Action::__construct

Overrides Entity::__construct().

Overrides ConfigEntityBase::__construct

File

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

Class

Action
Defines the configured action entity.

Namespace

Drupal\system\Plugin\Core\Entity

Code

public function __construct(array $values, $entity_type) {
  parent::__construct($values, $entity_type);
  $this->pluginBag = new ActionBag(\Drupal::service('plugin.manager.action'), array(
    $this->plugin,
  ), $this->configuration);
}