You are here

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

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

Constructs a SettingsForm object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/InfoForm.php, line 80

Class

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