public static function PurgeBlockForm::create in Purge 8.3
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The dependency injection container.
string[] $config: The form's configuration array, which determines how and what we purge.
Overrides FormBase::create
1 call to PurgeBlockForm::create()
- PurgeBlock::build in modules/
purge_ui/ src/ Plugin/ Block/ PurgeBlock.php - Builds and returns the renderable array for this block plugin.
File
- modules/
purge_ui/ src/ Form/ PurgeBlockForm.php, line 113
Class
- PurgeBlockForm
- End-user form for \Drupal\purge_ui\Plugin\Block\PurgeBlock.
Namespace
Drupal\purge_ui\FormCode
public static function create(ContainerInterface $container, array $config = NULL) {
return new static($config, $container
->get('messenger'), $container
->get('purge.processors'), $container
->get('purge.purgers'), $container
->get('purge.invalidation.factory'), $container
->get('purge.queue'), $container
->get('purge.queuers'));
}