public StaticMenuLinkOverridesInterface::loadOverride($id)
Loads any overrides to the definition of a static (YAML-defined) link.
Parameters
string $id: A menu link plugin ID.
Return value
array|null An override with following supported keys:
- parent
- weight
- menu_name
- expanded
- enabled
or NULL if there is no override for the given ID.
File
- core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php, line 33
Class
- StaticMenuLinkOverridesInterface
- Defines an interface for objects which overrides menu links defined in YAML.
Namespace
Drupal\Core\Menu
Code
public function loadOverride($id);
Please login to continue.