You are here

public function ProfileTypeInterface::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.

1 method overrides ProfileTypeInterface::getDisplayLabel()
ProfileType::getDisplayLabel in src/Entity/ProfileType.php
Gets the profile type display label.

File

src/Entity/ProfileTypeInterface.php, line 22

Class

ProfileTypeInterface
Provides an interface defining a profile type entity.

Namespace

Drupal\profile\Entity

Code

public function getDisplayLabel();