public function MenuTreeStorageInterface::load in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::load()
Loads a menu link plugin definition from the storage.
Parameters
string $id: The menu link plugin ID.
Return value
array|false The plugin definition, or FALSE if no definition was found for the ID.
1 method overrides MenuTreeStorageInterface::load()
- MenuTreeStorage::load in core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorage.php - Loads a menu link plugin definition from the storage.
File
- core/
lib/ Drupal/ Core/ Menu/ MenuTreeStorageInterface.php, line 47
Class
- MenuTreeStorageInterface
- Defines an interface for storing a menu tree containing menu link IDs.
Namespace
Drupal\Core\MenuCode
public function load($id);