- 🇮🇩Indonesia el7cosmos 🇮🇩 GMT+7
/** * This hook is NOT invoked for the 'user_cancel_delete' account cancellation * method. To react to that method, implement hook_ENTITY_TYPE_predelete() or * hook_ENTITY_TYPE_delete() for user entities instead. */
This can be achieved by subscribing to:
\Drupal\core_event_dispatcher\EntityHookEvents::ENTITY_PRE_DELETE
\Drupal\core_event_dispatcher\EntityHookEvents::ENTITY_DELETE