You are here

public function InviteType::setLabel in Invite 8

Sets the Invite type label.

Parameters

string $label: The Invite type label.

Return value

\Drupal\invite\InviteTypeInterface The called Invite type entity.

Overrides InviteTypeInterface::setLabel

File

src/Entity/InviteType.php, line 92

Class

InviteType
Defines the Invite type entity.

Namespace

Drupal\invite\Entity

Code

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