You are here

public function MenuLinkContent::isDeletable in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::isDeletable()
  2. 10 core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php \Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::isDeletable()

Returns whether this link can be deleted.

Return value

bool TRUE if the link can be deleted, FALSE otherwise.

Overrides MenuLinkBase::isDeletable

File

core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php, line 248

Class

MenuLinkContent
Provides the menu link plugin for content menu links.

Namespace

Drupal\menu_link_content\Plugin\Menu

Code

public function isDeletable() {
  return TRUE;
}