public static function ShieldSettingsForm::create in Shield 8
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
Return value
\Drupal\Core\Form\ConfigFormBase|\Drupal\shield\Form\ShieldSettingsForm|static
Overrides ConfigFormBase::create
File
- src/
Form/ ShieldSettingsForm.php, line 50
Class
- ShieldSettingsForm
- Configure site information settings for this site.
Namespace
Drupal\shield\FormCode
public static function create(ContainerInterface $container) {
return new static($container
->get('config.factory'), $container
->get('module_handler'), $container
->get('plugin.manager.key.key_type', ContainerInterface::NULL_ON_INVALID_REFERENCE));
}