public function AgreementForm::__construct in Agreement 3.0.x
Same name in this branch
- 3.0.x src/Form/AgreementForm.php \Drupal\agreement\Form\AgreementForm::__construct()
- 3.0.x src/Entity/AgreementForm.php \Drupal\agreement\Entity\AgreementForm::__construct()
Same name and namespace in other branches
- 8.2 src/Entity/AgreementForm.php \Drupal\agreement\Entity\AgreementForm::__construct()
Initialize method.
Parameters
\Drupal\Core\Path\PathValidatorInterface $pathValidator: The path validator service.
File
- src/
Entity/ AgreementForm.php, line 30
Class
- AgreementForm
- Add or edit agreements.
Namespace
Drupal\agreement\EntityCode
public function __construct(PathValidatorInterface $pathValidator) {
$this->pathValidator = $pathValidator;
}