You are here

protected property MenuLinkContent::$overrideAllowed in Drupal 9

Same name and namespace in other branches
  1. 8 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 30

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,
];