You are here

public function TeamInvitation::setLabel in Apigee Edge 8

Sets the invitation label.

Parameters

string $label: The invitation label.

Return value

\Drupal\apigee_edge_teams\Entity\TeamInvitationInterface The invitation.

Overrides TeamInvitationInterface::setLabel

1 call to TeamInvitation::setLabel()
TeamInvitation::preSave in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
Acts on an entity before the presave hook is invoked.

File

modules/apigee_edge_teams/src/Entity/TeamInvitation.php, line 154

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

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