StaticMenuLinkOverridesInterface
interface StaticMenuLinkOverridesInterface (View source)
Defines an interface for objects which overrides menu links defined in YAML.
Methods
Reloads the overrides from config.
Loads any overrides to the definition of a static (YAML-defined) link.
Deletes any overrides to the definition of a static (YAML-defined) link.
Deletes multiple overrides to definitions of static (YAML-defined) links.
Loads overrides to multiple definitions of a static (YAML-defined) link.
Saves the override.
The unique cache tag associated with this menu link override.
Details
reload()
Reloads the overrides from config.
Forces all overrides to be reloaded from config storage to compare the override value with the value submitted during test form submission.
array
loadOverride(string $id)
Loads any overrides to the definition of a static (YAML-defined) link.
deleteOverride(string $id)
Deletes any overrides to the definition of a static (YAML-defined) link.
deleteMultipleOverrides(array $ids)
Deletes multiple overrides to definitions of static (YAML-defined) links.
array
loadMultipleOverrides(array $ids)
Loads overrides to multiple definitions of a static (YAML-defined) link.
array
saveOverride(string $id, array $definition)
Saves the override.
string[]
getCacheTags()
The unique cache tag associated with this menu link override.