Password::valueCallback

public static Password::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 ass

Password::preRenderPassword

public static Password::preRenderPassword($element) Prepares a #type 'password' render element for input.html.twig. Parameters array $element: An associative array containing the properties of the element. Properties used: #title, #value, #description, #size, #maxlength, #placeholder, #required, #attributes. Return value array The $element with prepared variables ready for input.html.twig. File core/lib/Drupal/Core/Render/Element/Password.php, line 59 Class Password Provides a form eleme

Password::getInfo

public Password::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 ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Password.php, line 30 Class Password Provides a form element for entering a password, with hidden text. Namespace Drupal\Core\Render

Password

Provides a form element for entering a password, with hidden text. Usage example: $form['pass'] = array( '#type' => 'password', '#title' => $this->t('Password'), '#size' => 25, ); Plugin annotation @FormElement("password") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderEle

ParamNotConvertedException

Provides an exception class for a request parameter that was not converted. Hierarchy class \Drupal\Core\ParamConverter\ParamNotConvertedException extends \Exception File core/lib/Drupal/Core/ParamConverter/ParamNotConvertedException.php, line 8 Namespace Drupal\Core\ParamConverter Members

ParamConverterSubscriber::__construct

public ParamConverterSubscriber::__construct(ParamConverterManagerInterface $param_converter_manager) Constructs a new ParamConverterSubscriber. Parameters \Drupal\Core\ParamConverter\ParamConverterManagerInterface $param_converter_manager: The parameter converter manager that will be responsible for upcasting request attributes. File core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php, line 29 Class ParamConverterSubscriber Event subscriber for registering parameter convert

ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters

public ParamConverterSubscriber::onRoutingRouteAlterSetParameterConverters(RouteBuildEvent $event) Applies parameter converters to route parameters. Parameters \Drupal\Core\Routing\RouteBuildEvent $event: The event to process. File core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php, line 39 Class ParamConverterSubscriber Event subscriber for registering parameter converters with routes. Namespace Drupal\Core\EventSubscriber Code public function onRoutingRouteAlterSetPar

ParamConverterSubscriber::getSubscribedEvents

static ParamConverterSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) ar

ParamConverterSubscriber::$paramConverterManager

The parameter converter manager. Type: \Drupal\Core\ParamConverter\ParamConverterManagerInterface File core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php, line 20 Class ParamConverterSubscriber Event subscriber for registering parameter converters with routes. Namespace Drupal\Core\EventSubscriber Code protected $paramConverterManager;

ParamConverterSubscriber

Event subscriber for registering parameter converters with routes. Hierarchy class \Drupal\Core\EventSubscriber\ParamConverterSubscriber implements EventSubscriberInterface File core/lib/Drupal/Core/EventSubscriber/ParamConverterSubscriber.php, line 13 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description ParamConverterSubscriber::$paramConverterManager protected property The parameter converter manager. ParamConverterSubscriber::getSubscribedEv