You are here

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\Entity

Code

public function getLabel() {
  return $this
    ->get('label')->value;
}