ForumIndexStorage::$database

Same name in other branches
  1. 9 core/modules/forum/src/ForumIndexStorage.php \Drupal\forum\ForumIndexStorage::database
  2. 8.9.x core/modules/forum/src/ForumIndexStorage.php \Drupal\forum\ForumIndexStorage::database
  3. 11.x core/modules/forum/src/ForumIndexStorage.php \Drupal\forum\ForumIndexStorage::database

The active database connection.

Type: \Drupal\Core\Database\Connection

File

core/modules/forum/src/ForumIndexStorage.php, line 19

Class

ForumIndexStorage
Handles CRUD operations to {forum_index} table.

Namespace

Drupal\forum

Code

protected $database;

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