public static function Oauth2TokenSettingsForm::create in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.3 src/Entity/Form/Oauth2TokenSettingsForm.php \Drupal\simple_oauth\Entity\Form\Oauth2TokenSettingsForm::create()
- 5.x src/Entity/Form/Oauth2TokenSettingsForm.php \Drupal\simple_oauth\Entity\Form\Oauth2TokenSettingsForm::create()
Creates the form.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.
Return value
\Drupal\simple_oauth\Entity\Form\Oauth2TokenSettingsForm The form.
Overrides ConfigFormBase::create
File
- src/
Entity/ Form/ Oauth2TokenSettingsForm.php, line 59
Class
- Oauth2TokenSettingsForm
- The settings form.
Namespace
Drupal\simple_oauth\Entity\FormCode
public static function create(ContainerInterface $container) {
return new static($container
->get('config.factory'), $container
->get('simple_oauth.filesystem_checker'), $container
->get('messenger'));
}