PathMatcher::$frontPage

The default front page. Type: string File core/lib/Drupal/Core/Path/PathMatcher.php, line 26 Class PathMatcher Provides a path matcher. Namespace Drupal\Core\Path Code protected $frontPage;

PathMatcher::$configFactory

The config factory service. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/Path/PathMatcher.php, line 40 Class PathMatcher Provides a path matcher. Namespace Drupal\Core\Path Code protected $configFactory;

PathMatcher

Provides a path matcher. Hierarchy class \Drupal\Core\Path\PathMatcher implements PathMatcherInterface File core/lib/Drupal/Core/Path/PathMatcher.php, line 12 Namespace Drupal\Core\Path Members Name Modifiers Type Description PathMatcher::$configFactory protected property The config factory service. PathMatcher::$frontPage protected property The default front page. PathMatcher::$isCurrentFrontPage protected property Whether the current page is the front p

PathFormBase::__construct

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\RequestContex

PathFormBase::validateForm

public PathFormBase::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/path/src/Form/PathFormBase.php, line 158 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code public function validateFo

PathFormBase::submitForm

public PathFormBase::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/path/src/Form/PathFormBase.php, line 203 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code public function submitFor

PathFormBase::create

public static PathFormBase::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service con

PathFormBase::buildPath

abstract protected PathFormBase::buildPath($pid) Builds the path used by the form. Parameters int|null $pid: Either the unique path ID, or NULL if a new one is being created. File core/modules/path/src/Form/PathFormBase.php, line 91 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code abstract protected function buildPath($pid);

PathFormBase::buildForm

public PathFormBase::buildForm(array $form, FormStateInterface $form_state, $pid = NULL) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/path/src/Form/PathFormBase.php, line 96 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\pat

PathFormBase::$requestContext

The request context. Type: \Drupal\Core\Routing\RequestContext File core/modules/path/src/Form/PathFormBase.php, line 52 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code protected $requestContext;