public MenuLinkBase::isTranslatable()
Returns whether this link can be translated.
Return value
bool TRUE if the link can be translated, FALSE otherwise.
Overrides MenuLinkInterface::isTranslatable
File
- core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 80
Class
- MenuLinkBase
- Defines a base menu link class.
Namespace
Drupal\Core\Menu
Code
1 2 3 | public function isTranslatable() { return (bool) $this ->getTranslateRoute(); } |
Please login to continue.