function InlineBlockUsage::__construct
Same name in other branches
- 8.9.x core/modules/layout_builder/src/InlineBlockUsage.php \Drupal\layout_builder\InlineBlockUsage::__construct()
- 10 core/modules/layout_builder/src/InlineBlockUsage.php \Drupal\layout_builder\InlineBlockUsage::__construct()
- 11.x 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_builderCode
public function __construct(Connection $database) {
$this->database = $database;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.