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',
);
doc_Drupal
2016-10-29 09:27:34
Comments
Leave a Comment

Please login to continue.