public function MenuLinkContent::isDeletable in Drupal 9
Same name and namespace in other branches
- 8 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 237
Class
- MenuLinkContent
- Provides the menu link plugin for content menu links.
Namespace
Drupal\menu_link_content\Plugin\MenuCode
public function isDeletable() {
return TRUE;
}