Defines an implementation of the menu link override using a config file.
Hierarchy
- class \Drupal\Core\Menu\StaticMenuLinkOverrides implements StaticMenuLinkOverridesInterface
File
- core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php, line 10
Namespace
Drupal\Core\Menu
Members
Name | Modifiers | Type | Description |
---|---|---|---|
StaticMenuLinkOverrides::$config | protected | property | The menu link overrides config object. |
StaticMenuLinkOverrides::$configFactory | protected | property | The config factory object. |
StaticMenuLinkOverrides::$configName | protected | property | The config name used to store the overrides. |
StaticMenuLinkOverrides::deleteMultipleOverrides | public | function | Deletes multiple overrides to definitions of static (YAML-defined) links. Overrides StaticMenuLinkOverridesInterface::deleteMultipleOverrides |
StaticMenuLinkOverrides::deleteOverride | public | function | Deletes any overrides to the definition of a static (YAML-defined) link. Overrides StaticMenuLinkOverridesInterface::deleteOverride |
StaticMenuLinkOverrides::encodeId | protected static | function | Encodes the ID by replacing dots with double underscores. |
StaticMenuLinkOverrides::getCacheTags | public | function | The unique cache tag associated with this menu link override. Overrides StaticMenuLinkOverridesInterface::getCacheTags |
StaticMenuLinkOverrides::getConfig | protected | function | Gets the configuration object when needed. |
StaticMenuLinkOverrides::loadMultipleOverrides | public | function | Loads overrides to multiple definitions of a static (YAML-defined) link. Overrides StaticMenuLinkOverridesInterface::loadMultipleOverrides |
StaticMenuLinkOverrides::loadOverride | public | function | Loads any overrides to the definition of a static (YAML-defined) link. Overrides StaticMenuLinkOverridesInterface::loadOverride |
StaticMenuLinkOverrides::reload | public | function | Reloads the overrides from config. Overrides StaticMenuLinkOverridesInterface::reload |
StaticMenuLinkOverrides::saveOverride | public | function | Saves the override. Overrides StaticMenuLinkOverridesInterface::saveOverride |
StaticMenuLinkOverrides::__construct | public | function | Constructs a StaticMenuLinkOverrides object. |
Please login to continue.