interface VotingApiReactionItemInterface in Voting API Reaction 8
Interface definition for reactions.
Hierarchy
- interface \Drupal\votingapi_reaction\Plugin\Field\FieldType\VotingApiReactionItemInterface
Expanded class hierarchy of VotingApiReactionItemInterface
All classes that implement VotingApiReactionItemInterface
3 files declare their use of VotingApiReactionItemInterface
- VotingApiReactionForm.php in src/
Form/ VotingApiReactionForm.php - VotingApiReactionManager.php in src/
VotingApiReactionManager.php - VotingApiReactionWidget.php in src/
Plugin/ Field/ FieldWidget/ VotingApiReactionWidget.php
File
- src/
Plugin/ Field/ FieldType/ VotingApiReactionItemInterface.php, line 8
Namespace
Drupal\votingapi_reaction\Plugin\Field\FieldTypeView source
interface VotingApiReactionItemInterface {
/**
* Reactions for this entity are hidden.
*/
const HIDDEN = 0;
/**
* Reactions for this entity are closed.
*/
const CLOSED = 1;
/**
* Reactions for this entity are open.
*/
const OPEN = 2;
/**
* Reactions for this entity will rollover based on Voting API settings.
*/
const VOTINGAPI_ROLLOVER = -1;
/**
* Reactions for this entity will never rollover.
*/
const NEVER_ROLLOVER = -2;
/**
* Methods by which sessions for anonymous users will be detected.
*/
const BY_COOKIES = 1;
const BY_IP = 2;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
VotingApiReactionItemInterface:: |
constant | Methods by which sessions for anonymous users will be detected. | ||
VotingApiReactionItemInterface:: |
constant | |||
VotingApiReactionItemInterface:: |
constant | Reactions for this entity are closed. | ||
VotingApiReactionItemInterface:: |
constant | Reactions for this entity are hidden. | ||
VotingApiReactionItemInterface:: |
constant | Reactions for this entity will never rollover. | ||
VotingApiReactionItemInterface:: |
constant | Reactions for this entity are open. | ||
VotingApiReactionItemInterface:: |
constant | Reactions for this entity will rollover based on Voting API settings. |