function EntityTestNoLabel::label
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php \Drupal\entity_test\Entity\EntityTestNoLabel::label()
- 10 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php \Drupal\entity_test\Entity\EntityTestNoLabel::label()
- 11.x core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php \Drupal\entity_test\Entity\EntityTestNoLabel::label()
Overrides ContentEntityBase::label
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestNoLabel.php, line 29
Class
- EntityTestNoLabel
- Test entity class.
Namespace
Drupal\entity_test\EntityCode
public function label() {
return $this->getName();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.