You are here

public function AcsfThemeNotify::__construct in Acquia Cloud Site Factory Connector 8.2

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

Constructor.

Parameters

\Drupal\acsf\AcsfVariableStorage $variable_storage: The ACSF variable storage service.

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

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.

File

src/AcsfThemeNotify.php, line 39

Class

AcsfThemeNotify
Manages theme notifications that need to be sent to the Factory.

Namespace

Drupal\acsf

Code

public function __construct(AcsfVariableStorage $variable_storage, Connection $database, TranslationInterface $string_translation) {
  $this->acsfVarStorage = $variable_storage;
  $this->database = $database;
  $this->stringTranslation = $string_translation;
}