You are here

public function VotingApiReactionItem::isEmpty in Voting API Reaction 8

Determines whether the data structure is empty.

Return value

bool TRUE if the data structure is empty, FALSE otherwise.

Overrides Map::isEmpty

File

src/Plugin/Field/FieldType/VotingApiReactionItem.php, line 153

Class

VotingApiReactionItem
Plugin implementation of the 'votingapi_reaction' field type.

Namespace

Drupal\votingapi_reaction\Plugin\Field\FieldType

Code

public function isEmpty() {

  // @TODO check if Voting API tables have records for this field
  return FALSE;
}