public function Developer::label in Apigee Edge 8
Gets the label of the entity.
Return value
string|null The label of the entity, or NULL if there is no label defined.
Overrides EdgeEntityBase::label
File
- src/
Entity/ Developer.php, line 494
Class
- Developer
- Defines the Developer entity class.
Namespace
Drupal\apigee_edge\EntityCode
public function label() {
// This class does not implement DisplayNamePropertyInterface.
// It make sense to return this as a default label for a developer entity.
// (Both fields are mandatory.)
return "{$this->getFirstName()} {$this->getLastName()}";
}