Ojs\AdminBundle\Events\AdminEvents::getMailEventsOptions PHP Method

getMailEventsOptions() public method

    public function getMailEventsOptions()
    {
        return [new EventDetail(self::ADMIN_USER_CHANGE, 'admin', ['user.username', 'eventType', 'user.fullName', 'done.by', 'receiver.username', 'receiver.fullName']), new EventDetail(self::ADMIN_USER_CHANGE_CREATE . '.created.user', 'admin', ['done.by', 'receiver.username', 'receiver.fullName']), new EventDetail(self::ADMIN_CONTACT_CHANGE, 'admin', ['contact', 'eventType', 'done.by', 'receiver.username', 'receiver.fullName']), new EventDetail(self::JOURNAL_APPLICATION_HAPPEN, 'admin', ['journal.title', 'receiver.username', 'receiver.fullName']), new EventDetail(self::JOURNAL_APPLICATION_HAPPEN . '.application.user', 'admin', ['journal.title', 'journal.phone', 'journal.address']), new EventDetail(self::ADMIN_JOURNAL_CHANGE, 'admin', ['journal.title', 'eventType', 'done.by', 'receiver.username', 'receiver.fullName']), new EventDetail(self::PUBLISHER_APPLICATION_HAPPEN, 'admin', ['publisher.name', 'receiver.username', 'receiver.fullName']), new EventDetail(self::PUBLISHER_CHANGE, 'admin', ['publisher.name', 'eventType', 'done.by', 'receiver.username', 'receiver.fullName']), new EventDetail(self::ADMIN_SUBJECT_CHANGE, 'admin', ['subject.subject', 'eventType', 'done.by', 'receiver.username', 'receiver.fullName']), new EventDetail(self::SETTINGS_CHANGE, 'admin', ['done.by', 'receiver.username', 'receiver.fullName'])];
    }