BookTestTrait::$book
Same name in other branches
- 8.9.x core/modules/book/tests/src/Functional/BookTestTrait.php \Drupal\Tests\book\Functional\BookTestTrait::book
- 10 core/modules/book/tests/src/Functional/BookTestTrait.php \Drupal\Tests\book\Functional\BookTestTrait::book
- 11.x core/modules/book/tests/src/Functional/BookTestTrait.php \Drupal\Tests\book\Functional\BookTestTrait::book
A book node.
Type: \Drupal\node\NodeInterface
File
-
core/
modules/ book/ tests/ src/ Functional/ BookTestTrait.php, line 20
Class
- BookTestTrait
- Provides common functionality for Book test classes.
Namespace
Drupal\Tests\book\FunctionalCode
protected $book;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.