You are here

public function PartyUserDataSet::getLabel in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_user/includes/party_user.data.inc \PartyUserDataSet::getLabel()

Get the user label.

Overrides PartyDefaultDataSet::getLabel

File

modules/party_user/includes/party_user.data.inc, line 15
Provides the class for managing user data sets.

Class

PartyUserDataSet
Controller class for CRM integration.

Code

public function getLabel($delta) {
  $entity = $this
    ->getEntity($delta);
  return format_username($entity);
}