use App\Form\NotificationCenter; $GLOBALS['TL_HOOKS']['storeLeadsData'][] = [NotificationCenter::class, 'storeEmailToken2Lead']; $GLOBALS['TL_HOOKS']['sendNotificationMessage'][] = [NotificationCenter::class, 'addVerifyUrlToTokens'];