FlagEvents.php in Flag 8.4
Same filename in this branch
Namespace
Drupal\flag\EventFile
src/Event/FlagEvents.phpView source
<?php
namespace Drupal\flag\Event;
/**
* Contains all events thrown in the Flag module.
*/
final class FlagEvents {
/**
* Event ID for when an entity is flagged.
*
* @Event
*
* @var string
*/
const ENTITY_FLAGGED = 'flag.entity_flagged';
/**
* Event ID for when a previously flagged entity is unflagged.
*
* @Event
*
* @var string
*/
const ENTITY_UNFLAGGED = 'flag.entity_unflagged';
}
Classes
Name | Description |
---|---|
FlagEvents | Contains all events thrown in the Flag module. |