function StaticMenuLinkOverrides::deleteOverride

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

Overrides StaticMenuLinkOverridesInterface::deleteOverride

File

core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php, line 101

Class

StaticMenuLinkOverrides
Defines an implementation of the menu link override using a config file.

Namespace

Drupal\Core\Menu

Code

public function deleteOverride($id) {
    return $this->deleteMultipleOverrides([
        $id,
    ]);
}

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