You are here

public function BaseUrl::__construct in Views base url 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/views/field/BaseUrl.php \Drupal\views_base_url\Plugin\views\field\BaseUrl::__construct()

Constructs a Handler 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.

Overrides HandlerBase::__construct

File

src/Plugin/views/field/BaseUrl.php, line 32

Class

BaseUrl
A handler to output site's base url.

Namespace

Drupal\views_base_url\Plugin\views\field

Code

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