ckeditor_mentions-8.x-2.x-dev/src/Events/CKEditorEvents.php
src/Events/CKEditorEvents.php
<?php
namespace Drupal\ckeditor_mentions\Events;
/**
* Contains all events thrown by ckeditor_mentions.
*/
final class CKEditorEvents {
/**
* The MENTION_FIRST event.
*
* The event occurs when the user was mentioned for the first time.
*
* @Event("Drupal\ckeditor_mentions\Events\CKEditorMentionsEvent")
*/
const MENTION_FIRST = 'ckeditor_mentions.mention';
/**
* The MENTION_SUBSEQUENT event.
*
* The event occurs when the user was mentioned at all except first time.
*
* @Event("Drupal\ckeditor_mentions\Events\CKEditorMentionsEvent")
*/
const MENTION_SUBSEQUENT = 'ckeditor_mentions.mention_subsequent';
/**
* The SUGGESTION event.
*
* The event occurs before suggestions are display to user.
*
* @Event("Drupal\ckeditor_mentions\Events\CKEditorMentionSuggestionsEvent")
*/
const SUGGESTION = 'ckeditor_mentions.suggestion_event';
}
