You are here

public function LayoutBuilderInlineBlockStubCleanup::__construct in Acquia Content Hub 8.2

LayoutBuilderInlineBlockStubCleanup constructor.

Parameters

\Drupal\Core\Database\Connection $database: DB connection service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/EventSubscriber/CleanupStubs/LayoutBuilderInlineBlockStubCleanup.php, line 44

Class

LayoutBuilderInlineBlockStubCleanup
Cleans up LB block stubs after import.

Namespace

Drupal\acquia_contenthub\EventSubscriber\CleanupStubs

Code

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