function BookManagerInterface::bookLinkTranslate
Same name in other branches
- 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookLinkTranslate()
- 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookLinkTranslate()
- 11.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookLinkTranslate()
Provides book loading, access control and translation.
Note: copied from _menu_link_translate() in menu.inc, but reduced to the minimal code that's used.
Parameters
array $link: A book link.
1 method overrides BookManagerInterface::bookLinkTranslate()
- BookManager::bookLinkTranslate in core/
modules/ book/ src/ BookManager.php - Provides book loading, access control and translation.
File
-
core/
modules/ book/ src/ BookManagerInterface.php, line 142
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function bookLinkTranslate(&$link);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.