public function PhotosAccessPasswordForm::__construct in Album Photos 8.5
Same name and namespace in other branches
- 8.4 photos_access/src/Form/PhotosAccessPasswordForm.php \Drupal\photos_access\Form\PhotosAccessPasswordForm::__construct()
- 6.0.x photos_access/src/Form/PhotosAccessPasswordForm.php \Drupal\photos_access\Form\PhotosAccessPasswordForm::__construct()
Construct the PhotosAccessPasswordForm.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection which will be used to check the password.
File
- photos_access/
src/ Form/ PhotosAccessPasswordForm.php, line 30
Class
- PhotosAccessPasswordForm
- Defines a form to upload photos to this site.
Namespace
Drupal\photos_access\FormCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}