You are here

public function Link::__construct in Views link area 8

Constructs a new Entity instance.

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\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Access\AccessManagerInterface $access_manager: The access manager.

\Symfony\Component\Routing\RequestContext: The request context.

Overrides HandlerBase::__construct

File

src/Plugin/views/area/Link.php, line 63

Class

Link
Views area Link handler.

Namespace

Drupal\views_linkarea\Plugin\views\area

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, LanguageManagerInterface $language_manager, AccessManagerInterface $access_manager, RequestContext $context) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->languageManager = $language_manager;
  $this->accessManager = $access_manager;
  $this->context = $context;
}