You are here

public function OpignoCertificate::setLabel in Opigno certificate 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoCertificate.php \Drupal\opigno_certificate\Entity\OpignoCertificate::setLabel()

File

src/Entity/OpignoCertificate.php, line 114

Class

OpignoCertificate
Defines the opigno_certificate entity class.

Namespace

Drupal\opigno_certificate\Entity

Code

public function setLabel($label) {
  $this
    ->set('label', $label);
  return $this;
}