You are here

public function BookManagerInterface::bookLinkTranslate in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::bookLinkTranslate()
  2. 10 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\book

Code

public function bookLinkTranslate(&$link);