You are here

public function OperationsForm::__construct in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.2 src/Form/OperationsForm.php \Drupal\advagg\Form\OperationsForm::__construct()

Constructs the OperationsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\PrivateKey $private_key: The private key service.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The Date formatter service.

\Drupal\Core\Datetime\Time $time: Obtaining system time.

\Drupal\Core\Cache\CacheBackendInterface $cache: The AdvAgg cache.

\Drupal\Core\File\FileSystemInterface $file_system: The File System service.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

Overrides ConfigFormBase::__construct

File

src/Form/OperationsForm.php, line 83

Class

OperationsForm
Configure advagg settings for this site.

Namespace

Drupal\advagg\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, PrivateKey $private_key, DateFormatterInterface $date_formatter, Time $time, CacheBackendInterface $cache, FileSystemInterface $file_system, MessengerInterface $messenger) {
  parent::__construct($config_factory);
  $this->privateKey = $private_key;
  $this->dateFormatter = $date_formatter;
  $this->time = $time;
  $this->cache = $cache;
  $this->fileSystem = $file_system;
  $this->messenger = $messenger;
}