public function OAuthAddConsumerForm::__construct in OAuth 1.0 8
Same name and namespace in other branches
- 8.2 src/Form/OAuthAddConsumerForm.php \Drupal\oauth\Form\OAuthAddConsumerForm::__construct()
Parameters
\Drupal\Core\Database\Connection $connection: The database service.
\Drupal\Core\Session\AccountProxyInterface $account: The current user service.
File
- src/
Form/ OAuthAddConsumerForm.php, line 64 - Contains \Drupal\oauth\Form\OAuthAddConsumerForm.
Class
- OAuthAddConsumerForm
- Provides a form to add OAuth consumers.
Namespace
Drupal\oauth\FormCode
public function __construct(Connection $connection, AccountProxyInterface $account) {
$this->connection = $connection;
$this->account = $account;
}