You are here

public function IdArgumentBase::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Plugin/views/argument/IdArgumentBase.php \Drupal\bibcite_entity\Plugin\views\argument\IdArgumentBase::__construct()

Constructs the IdArgumentBase object.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage.

Overrides HandlerBase::__construct

File

modules/bibcite_entity/src/Plugin/views/argument/IdArgumentBase.php, line 32

Class

IdArgumentBase
Class IdArgumentBase.

Namespace

Drupal\bibcite_entity\Plugin\views\argument

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityStorageInterface $storage) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->storage = $storage;
}