function MenuLinkBase::getResetRoute

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

Overrides MenuLinkInterface::getResetRoute

1 call to MenuLinkBase::getResetRoute()
MenuLinkBase::getOperations in core/lib/Drupal/Core/Menu/MenuLinkBase.php
Provides an array of information to build a list of operation links.
1 method overrides MenuLinkBase::getResetRoute()
MenuLinkDefault::getResetRoute in core/lib/Drupal/Core/Menu/MenuLinkDefault.php
Returns route information for a route to reset the menu link.

File

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

Class

MenuLinkBase
Defines a base menu link class.

Namespace

Drupal\Core\Menu

Code

public function getResetRoute() : Url|null {
    return NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.