You are here

protected property EntityViewModeRestriction::$database in Layout Builder Restrictions 8.2

Database connection service.

Type: Drupal\Core\Database\Connection

File

src/Plugin/LayoutBuilderRestriction/EntityViewModeRestriction.php, line 39

Class

EntityViewModeRestriction
Controls behavior of the per-view mode plugin.

Namespace

Drupal\layout_builder_restrictions\Plugin\LayoutBuilderRestriction

Code

protected $database;