else if ($vote['entity_type'] == 'node') {