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\EventCode
public function getProfile() {
return $this->profile;
}