Same name and namespace in other branches
  1. 8.x-2.x src/Form/OperationsForm.php \Drupal\advagg\Form\OperationsForm::__construct() 1 commentaire

Constructs the OperationsForm object.

Paramètres

\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.

Fichier

src/Form/OperationsForm.php, line 83

Classe

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;
}