function Links::__construct

Same name and namespace in other branches
  1. 10 core/modules/views/src/Plugin/views/field/Links.php \Drupal\views\Plugin\views\field\Links::__construct()

Constructs a Links 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\Routing\RedirectDestinationInterface $redirectDestination: The redirect destination service.

Overrides HandlerBase::__construct

File

core/modules/views/src/Plugin/views/field/Links.php, line 30

Class

Links
An abstract handler which provides a collection of links.

Namespace

Drupal\views\Plugin\views\field

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, RedirectDestinationInterface $redirectDestination) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.