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

Constructs a SettingsForm object.

Paramètres

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

\Drupal\Core\Theme\Registry $theme_registry: The theme registry service.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

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

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

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

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

Fichier

src/Form/InfoForm.php, line 80

Classe

InfoForm
View AdvAgg information for this site.

Namespace

Drupal\advagg\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Registry $theme_registry, RequestStack $request_stack, DateFormatterInterface $date_formatter, TranslatorInterface $string_translation, CacheBackendInterface $cache, MessengerInterface $messenger) {
    parent::__construct($config_factory);
    $this->themeRegistry = $theme_registry;
    $this->requestStack = $request_stack;
    $this->dateFormatter = $date_formatter;
    $this->translation = $string_translation;
    $this->cache = $cache;
    $this->messenger = $messenger;
}