Same name in other branches
- 8.x-2.x 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.
File
-
src/
Form/ InfoForm.php, line 80
Class
- InfoForm
- View AdvAgg information for this site.
Namespace
Drupal\advagg\FormCode
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;
}