public function ViewsMenuLink::deleteLink in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 175 - Contains \Drupal\views\Plugin\Menu\ViewsMenuLink.
Class
- ViewsMenuLink
- Defines menu links provided by views.
Namespace
Drupal\views\Plugin\MenuCode
public function deleteLink() {
}