public PathFormBase::__construct(AliasStorageInterface $alias_storage, AliasManagerInterface $alias_manager, PathValidatorInterface $path_validator, RequestContext $request_context)
Constructs a new PathController.
Parameters
\Drupal\Core\Path\AliasStorageInterface $alias_storage: The path alias storage.
\Drupal\Core\Path\AliasManagerInterface $alias_manager: The path alias manager.
\Drupal\Core\Path\PathValidatorInterface $path_validator: The path validator.
\Drupal\Core\Routing\RequestContext $request_context: The request context.
File
- core/modules/path/src/Form/PathFormBase.php, line 66
Class
- PathFormBase
- Provides a base class for path add/edit forms.
Namespace
Drupal\path\Form
Code
1 2 3 4 5 6 | public function __construct(AliasStorageInterface $alias_storage , AliasManagerInterface $alias_manager , PathValidatorInterface $path_validator , RequestContext $request_context ) { $this ->aliasStorage = $alias_storage ; $this ->aliasManager = $alias_manager ; $this ->pathValidator = $path_validator ; $this ->requestContext = $request_context ; } |
Please login to continue.