public function BookManagerInterface::getLinkDefaults in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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.
1 method overrides BookManagerInterface::getLinkDefaults()
- BookManager::getLinkDefaults in core/
modules/ book/ src/ BookManager.php - Returns an array with default values for a book page's menu link.
File
- core/
modules/ book/ src/ BookManagerInterface.php, line 214 - Contains \Drupal\book\BookManagerInterface.
Class
- BookManagerInterface
- Provides an interface defining a book manager.
Namespace
Drupal\bookCode
public function getLinkDefaults($nid);