You are here

public function SvgEmbedProcess::__construct in SVG Embed 2.0.x

Same name and namespace in other branches
  1. 8 src/SvgEmbedProcess.php \Drupal\svg_embed\SvgEmbedProcess::__construct()

SvgEmbedProcess constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler:

\Drupal\Core\Database\Connection $connection:

File

src/SvgEmbedProcess.php, line 42

Class

SvgEmbedProcess
Class SvgEmbedProcess.

Namespace

Drupal\svg_embed

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, Connection $connection) {
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
  $this->connection = $connection;
}