You are here

public function PasswordPolicy::label in Password Policy 8.3

Gets the label of the entity.

Return value

string|null The label of the entity, or NULL if there is no label defined.

Overrides EntityBase::label

File

src/Entity/PasswordPolicy.php, line 97

Class

PasswordPolicy
Defines a Password Policy configuration entity class.

Namespace

Drupal\password_policy\Entity

Code

public function label() {
  return $this->label;
}