public function BulkFormBase::__construct

Constructs a new BulkForm object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin ID for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\Entity\EntityManager $manager: The entity manager.

Overrides HandlerBase::__construct

2 calls to BulkFormBase::__construct()
NodeBulkForm::__construct in drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/NodeBulkForm.php
Constructs a new NodeBulkForm object.
UserBulkForm::__construct in drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/UserBulkForm.php
Constructs a new BulkForm object.
2 methods override BulkFormBase::__construct()
NodeBulkForm::__construct in drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/NodeBulkForm.php
Constructs a new NodeBulkForm object.
UserBulkForm::__construct in drupal/core/modules/user/lib/Drupal/user/Plugin/views/field/UserBulkForm.php
Constructs a new BulkForm object.

File

drupal/core/modules/system/lib/Drupal/system/Plugin/views/field/BulkFormBase.php, line 39
Contains \Drupal\system\Plugin\views\field\BulkFormBase.

Class

BulkFormBase
Defines a generic bulk operation form element.

Namespace

Drupal\system\Plugin\views\field

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityManager $manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->actions = $manager
    ->getStorageController('action')
    ->load();
}