function BookManagerInterface::getLinkDefaults
Same name in other branches
- 9 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getLinkDefaults()
- 8.9.x core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getLinkDefaults()
- 10 core/modules/book/src/BookManagerInterface.php \Drupal\book\BookManagerInterface::getLinkDefaults()
Returns an array with default values for a book page's menu link.
Parameters
string|int $nid: The ID of the node whose menu link is being created.
Return value
array The default values for the menu link.
File
-
core/
modules/ book/ src/ BookManagerInterface.php, line 212
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function getLinkDefaults($nid);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.