protected property MenuTreeStorage::$definitionFields in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::definitionFields
List of plugin definition fields.
@todo Decide how to keep these field definitions in sync. https://www.drupal.org/node/2302085
Type: array
See also
\Drupal\Core\Menu\MenuLinkManager::$defaults
File
- core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php, line 86
Class
- MenuTreeStorage
- Provides a menu tree storage using the database.
Namespace
Drupal\Core\MenuCode
protected $definitionFields = [
'menu_name',
'route_name',
'route_parameters',
'url',
'title',
'description',
'parent',
'weight',
'options',
'expanded',
'enabled',
'provider',
'metadata',
'class',
'form_class',
'id',
];