function BookOutlineStorage::__construct

Same name in other branches
  1. 9 core/modules/book/src/BookOutlineStorage.php \Drupal\book\BookOutlineStorage::__construct()
  2. 10 core/modules/book/src/BookOutlineStorage.php \Drupal\book\BookOutlineStorage::__construct()
  3. 11.x core/modules/book/src/BookOutlineStorage.php \Drupal\book\BookOutlineStorage::__construct()

Constructs a BookOutlineStorage object.

File

core/modules/book/src/BookOutlineStorage.php, line 22

Class

BookOutlineStorage
Defines a storage class for books outline.

Namespace

Drupal\book

Code

public function __construct(Connection $connection) {
    $this->connection = $connection;
}

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