You are here

public function EntityTestNoLabel::label in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php \Drupal\entity_test\Entity\EntityTestNoLabel::label()

inheritdoc}

Overrides ContentEntityBase::label

File

core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php, line 29
Contains \Drupal\entity_test\Entity\EntityTestNoLabel.

Class

EntityTestNoLabel
Test entity class.

Namespace

Drupal\entity_test\Entity

Code

public function label() {
  return $this
    ->getName();
}