function BlockDeleteForm::create

Same name and namespace in other branches
  1. 11.x core/modules/block/src/Form/BlockDeleteForm.php \Drupal\block\Form\BlockDeleteForm::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\Form

Code

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.