You are here

protected function EFQViewsTestEntityClass::defaultLabel in EntityFieldQuery Views Backend 7

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

Overrides Entity::defaultLabel

File

tests/efq_views_test.module, line 81
Provides info about the efq_views test entity.

Class

EFQViewsTestEntityClass

Code

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