You are here

protected property MenuTreeStorage::$definitionFields in Drupal 8

Same name and namespace in other branches
  1. 9 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\Menu

Code

protected $definitionFields = [
  'menu_name',
  'route_name',
  'route_parameters',
  'url',
  'title',
  'description',
  'parent',
  'weight',
  'options',
  'expanded',
  'enabled',
  'provider',
  'metadata',
  'class',
  'form_class',
  'id',
];