public function CertificateTestEntity::setName in Certificate 4.x
Sets the name.
Parameters
string $name: Name of the entity.
Return value
$this
File
- modules/
certificate_test/ src/ Entity/ CertificateTestEntity.php, line 141
Class
- CertificateTestEntity
- Defines the test entity class.
Namespace
Drupal\certificate_test\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}