Same name in other branches
  1. 6.0.x src/Form/OperationsForm.php \Drupal\advagg\Form\OperationsForm::create()
  2. 8.x-2.x src/Form/OperationsForm.php \Drupal\advagg\Form\OperationsForm::create()
  3. 8.x-3.x src/Form/OperationsForm.php \Drupal\advagg\Form\OperationsForm::create()
  4. 8.x-4.x src/Form/OperationsForm.php \Drupal\advagg\Form\OperationsForm::create()
2 calls to OperationsForm::create()
advagg_uninstall dans ./advagg.install
Implements hook_uninstall().
OperationsFormTest::setUp dans tests/src/Kernel/Form/OperationsFormTest.php
@covers ::__construct

Fichier

src/Form/OperationsForm.php, line 22

Classe

OperationsForm
Configure advagg settings for this site.

Namespace

Drupal\advagg\Form

Code

public static function create(ContainerInterface $container) {
    
    /**
     * @var \Drupal\advagg\Form\OperationsForm
     */
    $instance = parent::create($container);
    $instance->setPrivateKey($container->get('private_key'));
    $instance->setDateFomatter($container->get('date.formatter'));
    $instance->setTime($container->get('datetime.time'));
    $instance->setCache($container->get('cache.advagg'));
    $instance->setFileSystem($container->get('file_system'));
    return $instance;
}