You are here

public function PasswordConstraintBase::getDescription in Password Policy 8.3

Returns a translated description for the constraint description.

Return value

string Description of the constraint.

Overrides PasswordConstraintInterface::getDescription

File

src/PasswordConstraintBase.php, line 34

Class

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

Namespace

Drupal\password_policy

Code

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