You are here

public function EntityQueueSmartQueueArgument::__construct in Entityqueue 8

Constructs a EntityQueueSmartQueueArgument 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\EntityTypeManagerInterface $entity_manager: The entity type manager.

Overrides HandlerBase::__construct

File

modules/entityqueue_smartqueue/src/Plugin/views/argument/EntityQueueSmartQueueArgument.php, line 36

Class

EntityQueueSmartQueueArgument
Plugin annotation @ViewsArgument("entityqueue_smartqueue_name");

Namespace

Drupal\entityqueue_smartqueue\Plugin\views\argument

Code

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