function StaticMenuLinkOverridesInterface::deleteOverride

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php \Drupal\Core\Menu\StaticMenuLinkOverridesInterface::deleteOverride()
  2. 10 core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php \Drupal\Core\Menu\StaticMenuLinkOverridesInterface::deleteOverride()
  3. 11.x core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php \Drupal\Core\Menu\StaticMenuLinkOverridesInterface::deleteOverride()

Deletes any overrides to the definition of a static (YAML-defined) link.

Parameters

string $id: A menu link plugin ID.

1 method overrides StaticMenuLinkOverridesInterface::deleteOverride()
StaticMenuLinkOverrides::deleteOverride in core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php
Deletes any overrides to the definition of a static (YAML-defined) link.

File

core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php, line 41

Class

StaticMenuLinkOverridesInterface
Defines an interface for objects which overrides menu links defined in YAML.

Namespace

Drupal\Core\Menu

Code

public function deleteOverride($id);

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