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

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.

\Drupal\Core\State\StateInterface $advagg_files: The AdvAgg file status state information storage service.

\Drupal\Core\State\StateInterface $advagg_aggregates: The AdvAgg aggregate state information storage 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.

Fichier

src/Form/InfoForm.php, line 82

Classe

InfoForm
View AdvAgg information for this site.

Namespace

Drupal\advagg\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Registry $theme_registry, StateInterface $advagg_files, StateInterface $advagg_aggregates, RequestStack $request_stack, DateFormatterInterface $date_formatter, TranslatorInterface $string_translation) {
    parent::__construct($config_factory);
    $this->themeRegistry = $theme_registry;
    $this->advaggFiles = $advagg_files;
    $this->advaggAggregates = $advagg_aggregates;
    $this->requestStack = $request_stack;
    $this->dateFormatter = $date_formatter;
    $this->translation = $string_translation;
}