public function MenuTreeStorage::load in Colossal Menu 8
Same name and namespace in other branches
- 2.x src/Menu/MenuTreeStorage.php \Drupal\colossal_menu\Menu\MenuTreeStorage::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.
Overrides MenuTreeStorageInterface::load
1 call to MenuTreeStorage::load()
- MenuTreeStorage::loadSubtreeData in src/
Menu/ MenuTreeStorage.php - Loads a subtree rooted by the given ID.
File
- src/
Menu/ MenuTreeStorage.php, line 97
Class
- MenuTreeStorage
- Provides a menu tree storage using the database.
Namespace
Drupal\colossal_menu\MenuCode
public function load($id) {
return $this->storage
->load($id);
}