Menu Item: Enable or Disable¶
Plugin ID: eca_menu_enable_menu_item
Available since: 2.1.6
Enable or disable a menu link (can be module provided).
Fields¶
ID of menu item— config key:menu_item-
The id of a menu item provided by code (e.g. not a menu_link_content created in the menu UI).
This field supports tokens.Type:
textfield· Required: yes · Default: empty string Enable— config key:enabled-
Select to have the menu item enabled, or leave unchecked to have it disabled.
Type:
checkbox· Required: no · Default:true Entity— config key:object-
Provide the token name of the entity that this action should operate with. Please provide the token name only, without brackets.
Type:
textfield· Required: no · Default: empty string