You are here

public function Raw::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/argument_default/Raw.php \Drupal\views\Plugin\views\argument_default\Raw::__construct()

Constructs a Raw 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\Path\AliasManagerInterface $alias_manager: The alias manager.

\Drupal\Core\Path\CurrentPathStack $current_path: The current path.

Overrides PluginBase::__construct

File

core/modules/views/src/Plugin/views/argument_default/Raw.php, line 57
Contains \Drupal\views\Plugin\views\argument_default\Raw.

Class

Raw
Default argument plugin to use the raw value from the URL.

Namespace

Drupal\views\Plugin\views\argument_default

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, AliasManagerInterface $alias_manager, CurrentPathStack $current_path) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->aliasManager = $alias_manager;
  $this->currentPath = $current_path;
}