function RequiredContextDelete::create

Same name in other branches
  1. 4.0.x src/Form/RequiredContextDelete.php \Drupal\ctools\Form\RequiredContextDelete::create()

Overrides FormBase::create

File

src/Form/RequiredContextDelete.php, line 50

Class

RequiredContextDelete
Base class for adding a required contexts step to your wizard.

Namespace

Drupal\ctools\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('tempstore.shared'));
}