public function ProfileType::getDisplayLabel in Profile 8
Gets the profile type display label.
This is the user-facing name, unlike the regular label, which is admin-facing. Used on user pages.
Return value
string The display label. If empty, use the regular label instead.
Overrides ProfileTypeInterface::getDisplayLabel
File
- src/
Entity/ ProfileType.php, line 125
Class
- ProfileType
- Defines the profile type entity class.
Namespace
Drupal\profile\EntityCode
public function getDisplayLabel() {
return $this->display_label;
}