You are here

protected property MenuLinkContent::$overrideAllowed in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::overrideAllowed
  2. 10 core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::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/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php, line 37

Class

MenuLinkContent
Provides the menu link plugin for content menu links.

Namespace

Drupal\menu_link_content\Plugin\Menu

Code

protected $overrideAllowed = [
  'menu_name' => 1,
  'parent' => 1,
  'weight' => 1,
  'expanded' => 1,
  'enabled' => 1,
  'title' => 1,
  'description' => 1,
  'route_name' => 1,
  'route_parameters' => 1,
  'url' => 1,
  'options' => 1,
];