function votingapi_reaction_entity_type_build in Voting API Reaction 8
Implements hook_entity_type_build().
File
- ./
votingapi_reaction.module, line 69 - Allows users to react to any entity using Voting and Field APIs.
Code
function votingapi_reaction_entity_type_build(array &$entity_types) {
$entity_types['vote']
->setFormClass('votingapi_reaction', 'Drupal\\votingapi_reaction\\Form\\VotingApiReactionForm');
}