protected property 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 = array(
  'menu_name',
  'route_name',
  'route_parameters',
  'url',
  'title',
  'description',
  'parent',
  'weight',
  'options',
  'expanded',
  'enabled',
  'provider',
  'metadata',
  'class',
  'form_class',
  'id',
);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuTreeStorage.php/property/MenuTreeStorage::definitionFields/8.1.x