protected MenuTreeStorage::loadFull($id)
Loads all table fields, not just those that are in the plugin definition.
Parameters
string $id: The menu link ID.
Return value
array The loaded menu link definition or an empty array if not be found.
File
- core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 727
Class
- MenuTreeStorage
- Provides a menu tree storage using the database.
Namespace
Drupal\Core\Menu
Code
1 2 3 4 | protected function loadFull( $id ) { $loaded = $this ->loadFullMultiple( array ( $id )); return isset( $loaded [ $id ]) ? $loaded [ $id ] : array (); } |
Please login to continue.