function BlockDeleteForm::create
Instantiates a new instance of the implementing class using autowiring.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container this instance should use.
Return value
static
Overrides AutowireTrait::create
File
-
core/
modules/ block/ src/ Form/ BlockDeleteForm.php, line 35
Class
- BlockDeleteForm
- Provides a deletion confirmation form for the block instance deletion form.
Namespace
Drupal\block\FormCode
public static function create(ContainerInterface $container) : static {
return new static($container->get('theme_handler'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.