You are here

public function AgreementForm::__construct in Agreement 8.2

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