You are here

public function InlineBlockUsage::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/InlineBlockUsage.php \Drupal\layout_builder\InlineBlockUsage::__construct()

Creates an InlineBlockUsage object.

Parameters

\Drupal\Core\Database\Connection $database: The database connection.

File

core/modules/layout_builder/src/InlineBlockUsage.php, line 26

Class

InlineBlockUsage
Service class to track inline block usage.

Namespace

Drupal\layout_builder

Code

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