function MenuLinkContentInterface::setRequiresRediscovery
Same name in other branches
- 9 core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::setRequiresRediscovery()
- 8.9.x core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::setRequiresRediscovery()
- 11.x core/modules/menu_link_content/src/MenuLinkContentInterface.php \Drupal\menu_link_content\MenuLinkContentInterface::setRequiresRediscovery()
Flags a link as requiring rediscovery.
Parameters
bool $rediscovery: Whether or not the link requires rediscovery.
Return value
$this The instance on which the method was called.
See also
\Drupal\menu_link_content\MenuLinkContentInterface::requiresRediscovery()
1 method overrides MenuLinkContentInterface::setRequiresRediscovery()
- MenuLinkContent::setRequiresRediscovery in core/
modules/ menu_link_content/ src/ Entity/ MenuLinkContent.php - Flags a link as requiring rediscovery.
File
-
core/
modules/ menu_link_content/ src/ MenuLinkContentInterface.php, line 131
Class
- MenuLinkContentInterface
- Defines an interface for custom menu links.
Namespace
Drupal\menu_link_contentCode
public function setRequiresRediscovery($rediscovery);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.