function MenuTreeStorage::definitionFields
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::definitionFields()
- 10 core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::definitionFields()
- 11.x core/lib/Drupal/Core/Menu/MenuTreeStorage.php \Drupal\Core\Menu\MenuTreeStorage::definitionFields()
Determines fields that are part of the plugin definition.
Return value
array The list of the subset of fields that are part of the plugin definition.
5 calls to MenuTreeStorage::definitionFields()
- MenuTreeStorage::loadByProperties in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Loads multiple plugin definitions from the storage based on properties.
- MenuTreeStorage::loadByRoute in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Loads multiple plugin definitions from the storage based on route.
- MenuTreeStorage::loadLinks in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Loads links in the given menu, according to the given tree parameters.
- MenuTreeStorage::loadMultiple in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Loads multiple plugin definitions from the storage.
- MenuTreeStorage::prepareLink in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Prepares a link by unserializing values and saving the definition.
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php, line 1207
Class
- MenuTreeStorage
- Provides a menu tree storage using the database.
Namespace
Drupal\Core\MenuCode
protected function definitionFields() {
return $this->definitionFields;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.