You are here

public function PasswordConstraintBase::getConfiguration in Password Policy 8.3

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

6 calls to PasswordConstraintBase::getConfiguration()
PasswordCharacter::getSummary in password_policy_characters/src/Plugin/PasswordConstraint/PasswordCharacter.php
Returns a human-readable summary of the constraint.
PasswordCharacter::validate in password_policy_characters/src/Plugin/PasswordConstraint/PasswordCharacter.php
Returns a true/false status if the password meets the constraint.
PasswordHistory::validate in password_policy_history/src/Plugin/PasswordConstraint/PasswordHistory.php
Returns a true/false status if the password meets the constraint.
PasswordLength::validate in password_policy_length/src/Plugin/PasswordConstraint/PasswordLength.php
Returns a true/false status if the password meets the constraint.
PasswordUsername::buildConfigurationForm in password_policy_username/src/Plugin/PasswordConstraint/PasswordUsername.php
Form constructor.

... See full list

File

src/PasswordConstraintBase.php, line 60

Class

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

Namespace

Drupal\password_policy

Code

public function getConfiguration() {
  return [
    'id' => $this
      ->getPluginId(),
  ] + $this->configuration;
}