You are here

protected function MerciInventoryEntity::defaultLabel in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Specifies the default label, which is picked up by label() by default.

Overrides Entity::defaultLabel

File

merci_inventory/merci_inventory.module, line 202

Class

MerciInventoryEntity
Main class for test entities.

Code

protected function defaultLabel() {
  $type = entity_test_get_types($this->name);
  return $type->label;
}