public function BookManagerInterface::bookLinkTranslate in Drupal 9
Same name and namespace in other branches
- 8 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);