PathFormBase::$pathValidator

The path validator. Type: \Drupal\Core\Path\PathValidatorInterface File core/modules/path/src/Form/PathFormBase.php, line 45 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code protected $pathValidator;

PathFormBase::$path

An array containing the path ID, source, alias, and language code. Type: array File core/modules/path/src/Form/PathFormBase.php, line 24 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code protected $path;

PathFormBase::$aliasStorage

The path alias storage. Type: \Drupal\Core\Path\AliasStorageInterface File core/modules/path/src/Form/PathFormBase.php, line 31 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code protected $aliasStorage;

PathFormBase::$aliasManager

The path alias manager. Type: \Drupal\Core\Path\AliasManagerInterface File core/modules/path/src/Form/PathFormBase.php, line 38 Class PathFormBase Provides a base class for path add/edit forms. Namespace Drupal\path\Form Code protected $aliasManager;

PathFormBase

Provides a base class for path add/edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\path\Form\PathFormBase File core/modules/path/src/Form/PathFormBase.php, line 17 Namespace Drupal\path\Form Members Name Modifiers Type Description DependencySerializationTrait::$_

PathElement::valueCallback

public static PathElement::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value to

PathElement::validateMatchedPath

public static PathElement::validateMatchedPath(&$element, FormStateInterface $form_state, &$complete_form) Form element validation handler for matched_path elements. Note that #maxlength is validated by _form_validate() already. This checks that the submitted value matches an active route. File core/lib/Drupal/Core/Render/Element/PathElement.php, line 61 Class PathElement Provides a matched path render element. Namespace Drupal\Core\Render\Element Code public static function va

PathElement::getInfo

public PathElement::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides Textfield::getInfo File core/lib/Drupal/Core/Render/Element/PathElement.php, line 36 Class PathElement Provides a matched path render element. Namespace Drupal\Core\Render\Element Code public fun

PathElement::CONVERT_URL

Convert the submitted value into a \Drupal\Core\Url value object. File core/lib/Drupal/Core/Render/Element/PathElement.php, line 31 Class PathElement Provides a matched path render element. Namespace Drupal\Core\Render\Element Code const CONVERT_URL = 2;

PathElement::CONVERT_ROUTE

Convert the submitted value into a route name and parameter pair. File core/lib/Drupal/Core/Render/Element/PathElement.php, line 26 Class PathElement Provides a matched path render element. Namespace Drupal\Core\Render\Element Code const CONVERT_ROUTE = 1;