You are here

protected function PartyHat::defaultLabel in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_hat/includes/party_hat.entity.inc \PartyHat::defaultLabel()

Return the label of the hat.

Overrides Entity::defaultLabel

File

modules/party_hat/includes/party_hat.entity.inc, line 99
Contains the controller classes for Party entities.

Class

PartyHat
The class used for hat entities.

Code

protected function defaultLabel() {
  return $this->label;
}