You are here

public function ProfileType::setDisplayLabel in Profile 8

Sets the profile type display label.

Parameters

string $display_label: The display label.

Return value

$this

Overrides ProfileTypeInterface::setDisplayLabel

File

src/Entity/ProfileType.php, line 132

Class

ProfileType
Defines the profile type entity class.

Namespace

Drupal\profile\Entity

Code

public function setDisplayLabel($display_label) {
  $this->display_label = $display_label;
  return $this;
}