BookTestTrait::$book

Same name in other branches
  1. 8.9.x core/modules/book/tests/src/Functional/BookTestTrait.php \Drupal\Tests\book\Functional\BookTestTrait::book
  2. 10 core/modules/book/tests/src/Functional/BookTestTrait.php \Drupal\Tests\book\Functional\BookTestTrait::book
  3. 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\Functional

Code

protected $book;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.