You are here

public function PasswordConstraintBase::getTitle in Password Policy 8.3

Returns a translated string for the constraint title.

Return value

string Title of the constraint.

Overrides PasswordConstraintInterface::getTitle

File

src/PasswordConstraintBase.php, line 27

Class

PasswordConstraintBase
A base class to define standard operations of a password constraint.

Namespace

Drupal\password_policy

Code

public function getTitle() {
  return $this->pluginDefinition['title'];
}