function MenuTreeStorageInterface::load

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::load()
  2. 10 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::load()
  3. 11.x 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\Menu

Code

public function load($id);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.