Skip to content
Snippets Groups Projects
Commit 6de9a0ac authored by artis.bajars's avatar artis.bajars
Browse files

Add missing argument to isMenuPluginEnabled() call in HmMenuForm submit handler.

parent ecc3b304
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ class HmMenuForm extends MenuForm {
* if the menu hierarchy plugin is enabled.
*/
protected function submitOverviewForm(array $complete_form, FormStateInterface $form_state) {
if (!$this->isMenuPluginEnabled()) {
if (!$this->isMenuPluginEnabled($this->entity)) {
parent::submitOverviewForm($complete_form, $form_state);
}
}
......@@ -151,4 +151,3 @@ class HmMenuForm extends MenuForm {
return $this->isEnabled;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment