function MenuLinkBase::getTranslateRoute
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getTranslateRoute()
- 10 core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getTranslateRoute()
- 11.x core/lib/Drupal/Core/Menu/MenuLinkBase.php \Drupal\Core\Menu\MenuLinkBase::getTranslateRoute()
Overrides MenuLinkInterface::getTranslateRoute
1 call to MenuLinkBase::getTranslateRoute()
- MenuLinkBase::isTranslatable in core/
lib/ Drupal/ Core/ Menu/ MenuLinkBase.php - Returns whether this link can be translated.
1 method overrides MenuLinkBase::getTranslateRoute()
- MenuLinkContent::getTranslateRoute in core/
modules/ menu_link_content/ src/ Plugin/ Menu/ MenuLinkContent.php - Returns route information for a route to translate the menu link.
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkBase.php, line 159
Class
- MenuLinkBase
- Defines a base menu link class.
Namespace
Drupal\Core\MenuCode
public function getTranslateRoute() {
return NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.