Commit 8aead032 authored by catch's avatar catch

Issue #2579695 by willzyx: ViewsMenuLink should use parent contructor instead...

Issue #2579695 by willzyx: ViewsMenuLink should use parent contructor instead of set manually the member variables
parent fa7a89af
......@@ -70,9 +70,7 @@ class ViewsMenuLink extends MenuLinkBase implements ContainerFactoryPluginInterf
* The view executable factory
*/
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;
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityManager = $entity_manager;
$this->viewExecutableFactory = $view_executable_factory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment