You are here

public function MenuLinkBase::isResettable in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::isResettable()

Returns whether this link can be reset.

In general, only links that store overrides using the menu_link.static.overrides service should return TRUE for this method.

Return value

bool TRUE if it can be reset, FALSE otherwise.

Overrides MenuLinkInterface::isResettable

1 method overrides MenuLinkBase::isResettable()
MenuLinkDefault::isResettable in core/lib/Drupal/Core/Menu/MenuLinkDefault.php
Returns whether this link can be reset.

File

core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 73

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function isResettable() {
  return FALSE;
}