You are here

public function ProfileLabelEvent::getProfile in Profile 8

Gets the profile.

Return value

\Drupal\profile\Entity\ProfileInterface The profile.

File

src/Event/ProfileLabelEvent.php, line 48

Class

ProfileLabelEvent
Defines the profile label event.

Namespace

Drupal\profile\Event

Code

public function getProfile() {
  return $this->profile;
}