You are here

protected property MenuLinkDefault::$overrideAllowed in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/MenuLinkDefault.php \Drupal\Core\Menu\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 = [
  'menu_name' => 1,
  'parent' => 1,
  'weight' => 1,
  'expanded' => 1,
  'enabled' => 1,
];