public function ConfigPagesTypeForm::__construct in Config Pages 8.3
Same name and namespace in other branches
- 8 src/ConfigPagesTypeForm.php \Drupal\config_pages\ConfigPagesTypeForm::__construct()
- 8.2 src/ConfigPagesTypeForm.php \Drupal\config_pages\ConfigPagesTypeForm::__construct()
Constructs a ConfigPagesForm object.
Parameters
\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator class.
\Drupal\Core\Routing\RouteBuilderInterface: The router interface.
MessengerInterface $messenger:
File
- src/
ConfigPagesTypeForm.php, line 51
Class
- ConfigPagesTypeForm
- Base form for category edit forms.
Namespace
Drupal\config_pagesCode
public function __construct(PathValidatorInterface $path_validator, RouteBuilderInterface $router_builder, MessengerInterface $messenger) {
$this->pathValidator = $path_validator;
$this->routerBuilder = $router_builder;
$this->messenger = $messenger;
}