public function ClientForm::__construct in OAuth2 Server 8
Same name and namespace in other branches
- 2.0.x src/Form/ClientForm.php \Drupal\oauth2_server\Form\ClientForm::__construct()
ClientForm constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManager $entity_type_manager: The entity type manager.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
File
- src/
Form/ ClientForm.php, line 48
Class
- ClientForm
- Class Client Form.
Namespace
Drupal\oauth2_server\FormCode
public function __construct(EntityTypeManager $entity_type_manager) {
$this->storage = $entity_type_manager
->getStorage('oauth2_server_client');
$this->entityQuery = $this->storage
->getQuery();
}