Constructs a SettingsForm object.

Paramètres

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

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

\Drupal\Core\State\StateInterface $state: The state service.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

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

\Drupal\Component\Datetime\TimeInterface $time: Obtaining system time.

Fichier

src/Form/SettingsForm.php, line 74

Classe

SettingsForm
Configure advagg settings for this site.

Namespace

Drupal\advagg\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, DateFormatterInterface $date_formatter, StateInterface $state, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache, TimeInterface $time) {
    parent::__construct($config_factory);
    $this->dateFormatter = $date_formatter;
    $this->state = $state;
    $this->moduleHandler = $module_handler;
    $this->cache = $cache;
    $this->time = $time;
}