Skip to main navigation Skip to main content Skip to page footer

PSR-14 Events

AfterProfileUpdatedEvent

This event is triggered after a frontend user has manually edited his profile by sending the form on the profile page. The event object contains the frontend user record.

You can configure an event listener for this event as follows:

  • Add the following to Configuration/Services.yaml

    services:
    Vendor\MyExtension\EventListener\AfterProfileUpdatedEventListener:
      tags:
        - name: event.listener
          identifier: 'AfterProfileUpdatedEventListener'
          event: CodingMs\Modules\Event\Profile\AfterProfileUpdatedEvent
  • Create event listener class

    namespace Vendor\MyExtension\EventListener;
    use CodingMs\Modules\Event\Profile\AfterProfileUpdatedEvent;
    class AfterProfileUpdatedEventListener
    {
      public function __invoke(AfterProfileUpdatedEvent $event): void
      {
    
      }
    }

You can find more information about PSR-14 events here: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Events/EventDispatcher/Index.html

Shopping basket 0 Products

The Demo is build with*

EXT:bootstrap_package for site-package aka theme build on Bootsrap 5.

EXT:modules for user plugins like user-profile, registration, user-addresses, and more.

EXT:shop for the whole shop functionality.

EXT:questions for the FAQ page and FAQs attached in the product detail views.

EXT:glossaries for the glossaries and definitions.

EXT:fluid_fpdf for generating invoices, delivery-notes, product-sheets and more.

EXT:parsedown_extra for rendering the extension documentations from markdown to HTML.

* There are only build-in settings made using site-settings & TypoScript – no templates or other files were changed or overridden!