public function ViewsMenuLink::__construct in Zircon Profile 8
Same name in this branch
- 8 core/modules/views/src/Plugin/Derivative/ViewsMenuLink.php \Drupal\views\Plugin\Derivative\ViewsMenuLink::__construct()
- 8 core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::__construct()
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::__construct()
Constructs a new ViewsMenuLink.
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\EntityManagerInterface $entity_manager: The entity manager
\Drupal\views\ViewExecutableFactory $view_executable_factory: The view executable factory
Overrides PluginBase::__construct
File
- core/
modules/ views/ src/ Plugin/ Menu/ ViewsMenuLink.php, line 72 - Contains \Drupal\views\Plugin\Menu\ViewsMenuLink.
Class
- ViewsMenuLink
- Defines menu links provided by views.
Namespace
Drupal\views\Plugin\MenuCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityManagerInterface $entity_manager, ViewExecutableFactory $view_executable_factory) {
$this->configuration = $configuration;
$this->pluginId = $plugin_id;
$this->pluginDefinition = $plugin_definition;
$this->entityManager = $entity_manager;
$this->viewExecutableFactory = $view_executable_factory;
}