You are here

public function NodeTitleValidationAdminForm::__construct in Node Title Validation 8

Same name and namespace in other branches
  1. 2.0.x src/Form/NodeTitleValidationAdminForm.php \Drupal\node_title_validation\Form\NodeTitleValidationAdminForm::__construct()
  2. 1.0.x src/Form/NodeTitleValidationAdminForm.php \Drupal\node_title_validation\Form\NodeTitleValidationAdminForm::__construct()

Constructs a new NodeTitleValidationController.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entityTypeManager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configFactory.

File

src/Form/NodeTitleValidationAdminForm.php, line 40

Class

NodeTitleValidationAdminForm
Class NodeTitleValidationAdminForm.

Namespace

Drupal\node_title_validation\Form

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $config_factory) {
  $this->entityTypeManager = $entityTypeManager;
  $this->configFactory = $config_factory;
}