RegisterLazyRouteEnhancers

Registers all lazy route enhancers onto the lazy route enhancers. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\RegisterLazyRouteEnhancers implements CompilerPassInterface File core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterLazyRouteEnhancers.php, line 11 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description RegisterLazyRouteEnhancers::process public function You can modify the container here before it is dumped

RegisterForm::submitForm

public RegisterForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unless the

RegisterForm::save

public RegisterForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. 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 int Either SAVED_NEW or SAVED_UPDATED, depending on the operatio

RegisterForm::form

public RegisterForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides AccountForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/user/src/RegisterForm.php, line 15 Class RegisterForm Form handler for the user register forms. Namespace Drupal\user Code public function form(array $form, FormStateInterface $form_state) { $user = $this->currentUser(); /**

RegisterForm::actions

protected RegisterForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/user/src/RegisterForm.php, line 53 Class RegisterForm Form handler for the user register forms. Namespace Drupal\user Code protected function actions(array $form, FormStateInterface $form_state) { $element

RegisterForm

Form handler for the user register forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\user\AccountFormclass \Drupal\user\RegisterForm F

RegisterEventSubscribersPass::process

public RegisterEventSubscribersPass::process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container: Overrides CompilerPassInterface::process File core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterEventSubscribersPass.php, line 16 Class RegisterEventSubscribersPass Registers all event subscribers to the event dispatcher. Namespace Drupal\Core\DependencyInjection\Compiler Code public function proces

RegisterEventSubscribersPass

Registers all event subscribers to the event dispatcher. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\RegisterEventSubscribersPass implements CompilerPassInterface File core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterEventSubscribersPass.php, line 11 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description RegisterEventSubscribersPass::process public function You can modify the container here before it is dumped to

RegisterEntityResolversCompilerPass::sort

protected RegisterEntityResolversCompilerPass::sort($services) Sorts by priority. Order services from highest priority number to lowest (reverse sorting). Parameters array $services: A nested array keyed on priority number. For each priority number, the value is an array of Symfony\Component\DependencyInjection\Reference objects, each a reference to a normalizer or encoder service. Return value array A flattened array of Reference objects from $services, ordered from high to low priority. Fil

RegisterEntityResolversCompilerPass::process

public RegisterEntityResolversCompilerPass::process(ContainerBuilder $container) Adds services to the Serializer. Parameters \Symfony\Component\DependencyInjection\ContainerBuilder $container: The container to process. Overrides CompilerPassInterface::process File core/modules/serialization/src/RegisterEntityResolversCompilerPass.php, line 20 Class RegisterEntityResolversCompilerPass Adds services tagged 'normalizer' and 'encoder' to the Serializer. Namespace Drupal\serialization Code