public function CertificateTestEntity::getName in Certificate 4.x
Returns the name.
Return value
string
File
- modules/
certificate_test/ src/ Entity/ CertificateTestEntity.php, line 151
Class
- CertificateTestEntity
- Defines the test entity class.
Namespace
Drupal\certificate_test\EntityCode
public function getName() {
return $this
->get('name')->value;
}