public function ProfileType::getLabel in Profile 2 8
Returns the label of the profile type.
Overrides ProfileTypeInterface::getLabel
File
- src/
Entity/ ProfileType.php, line 98 - Contains \Drupal\profile\Entity\ProfileType.
Class
- ProfileType
- Defines the profile type entity class.
Namespace
Drupal\profile\EntityCode
public function getLabel() {
return $this
->get('label')->value;
}