public function ConfigPagesTypeForm::__construct in Config Pages 8
Same name and namespace in other branches
- 8.3 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.
\Symfony\Component\Routing\RouteBuilderInterface $router_builder: The router interface.
File
- src/
ConfigPagesTypeForm.php, line 36
Class
- ConfigPagesTypeForm
- Base form for category edit forms.
Namespace
Drupal\config_pagesCode
public function __construct(PathValidatorInterface $path_validator, RouteBuilderInterface $router_builder) {
$this->pathValidator = $path_validator;
$this->routerBuilder = $router_builder;
}