BookBreadcrumbTest::$book

Same name and namespace in other branches
  1. 9 core/modules/book/tests/src/Functional/BookBreadcrumbTest.php \Drupal\Tests\book\Functional\BookBreadcrumbTest::book
  2. 8.9.x core/modules/book/tests/src/Functional/BookBreadcrumbTest.php \Drupal\Tests\book\Functional\BookBreadcrumbTest::book
  3. 10 core/modules/book/tests/src/Functional/BookBreadcrumbTest.php \Drupal\Tests\book\Functional\BookBreadcrumbTest::book

A book node.

Type: \Drupal\node\NodeInterface

File

core/modules/book/tests/src/Functional/BookBreadcrumbTest.php, line 33

Class

BookBreadcrumbTest
Create a book, add pages, and test book interface.

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.