You are here

public function StaticMenuLinkOverrides::deleteOverride in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::deleteOverride()
  2. 9 core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php \Drupal\Core\Menu\StaticMenuLinkOverrides::deleteOverride()

File

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

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,
  ]);
}