BookTestTrait::$book

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