You are here

public function AgreementForm::__construct in Agreement 3.0.x

Same name in this branch
  1. 3.0.x src/Form/AgreementForm.php \Drupal\agreement\Form\AgreementForm::__construct()
  2. 3.0.x src/Entity/AgreementForm.php \Drupal\agreement\Entity\AgreementForm::__construct()
Same name and namespace in other branches
  1. 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\Entity

Code

public function __construct(PathValidatorInterface $pathValidator) {
  $this->pathValidator = $pathValidator;
}