You are here

public function ViewsMenuLink::deleteLink in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/Menu/ViewsMenuLink.php \Drupal\views\Plugin\Menu\ViewsMenuLink::deleteLink()

Deletes a menu link.

In general, this method should not be called directly, but will be called automatically from MenuLinkManagerInterface::removeDefinition().

This method will only delete the link from any additional storage, but not from the plugin.manager.menu.link service.

Throws

\Drupal\Component\Plugin\Exception\PluginException If the link is not deletable.

Overrides MenuLinkBase::deleteLink

File

core/modules/views/src/Plugin/Menu/ViewsMenuLink.php, line 173

Class

ViewsMenuLink
Defines menu links provided by views.

Namespace

Drupal\views\Plugin\Menu

Code

public function deleteLink() {
}