You are here

protected function MenuTreeStorage::definitionFields in Drupal 9

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

Code

protected function definitionFields() {
  return $this->definitionFields;
}