You are here

public function ProfileLabelEvent::setLabel in Profile 8

Sets the profile label.

Parameters

string $label: The profile label.

Return value

$this

File

src/Event/ProfileLabelEvent.php, line 70

Class

ProfileLabelEvent
Defines the profile label event.

Namespace

Drupal\profile\Event

Code

public function setLabel($label) {
  $this->label = $label;
  return $this;
}