You are here

protected property MiconMenuLinkDefault::$overrideAllowed in Micon 2.x

Same name and namespace in other branches
  1. 8 micon_menu/src/MiconMenuLinkDefault.php \Drupal\micon_menu\MiconMenuLinkDefault::overrideAllowed

The list of definition values where an override is allowed.

The keys are definition names. The values are ignored.

Type: array

Overrides MenuLinkDefault::$overrideAllowed

File

micon_menu/src/MiconMenuLinkDefault.php, line 17

Class

MiconMenuLinkDefault
Manages discovery, instantiation, and tree building of menu link plugins.

Namespace

Drupal\micon_menu

Code

protected $overrideAllowed = [
  'menu_name' => 1,
  'parent' => 1,
  'weight' => 1,
  'expanded' => 1,
  'enabled' => 1,
  // Allow override of this variable.
  'options' => 1,
];