MenuLinkDefault::$overrideAllowed

The list of definition values where an override is allowed.

The keys are definition names. The values are ignored.

Type: array

Overrides MenuLinkBase::$overrideAllowed

File

core/lib/Drupal/Core/Menu/MenuLinkDefault.php, line 16

Class

MenuLinkDefault
Provides a default implementation for menu link plugins.

Namespace

Drupal\Core\Menu

Code

protected $overrideAllowed = array(
  'menu_name' => 1,
  'parent' => 1,
  'weight' => 1,
  'expanded' => 1,
  'enabled' => 1,
);
doc_Drupal
2016-10-29 09:26:52
Comments
Leave a Comment

Please login to continue.