function RequiredContext::create

Same name in other branches
  1. 8.x-3.x src/Form/RequiredContext.php \Drupal\ctools\Form\RequiredContext::create()

Overrides FormBase::create

File

src/Form/RequiredContext.php, line 39

Class

RequiredContext
Required Context Form.

Namespace

Drupal\ctools\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('typed_data_manager'), $container->get('form_builder'));
}