protected property MenuLinkDefault::$overrideAllowed in Drupal 9
Same name and namespace in other branches
- 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\MenuCode
protected $overrideAllowed = [
'menu_name' => 1,
'parent' => 1,
'weight' => 1,
'expanded' => 1,
'enabled' => 1,
];