W3cubDocs

/Drupal 8

public function MenuLinkBase::isResettable

public 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

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuLinkBase.php/function/MenuLinkBase::isResettable/8.1.x