You are here

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\Entity

Code

public function getName() {
  return $this
    ->get('name')->value;
}