You are here

public function PasswordConstraintBase::defaultConfiguration in Password Policy 8.3

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to PasswordConstraintBase::defaultConfiguration()
PasswordConstraintBase::setConfiguration in src/PasswordConstraintBase.php
Sets the configuration for this plugin instance.
6 methods override PasswordConstraintBase::defaultConfiguration()
CharacterTypes::defaultConfiguration in password_policy_character_types/src/Plugin/PasswordConstraint/CharacterTypes.php
Gets default configuration for this plugin.
ConsecutiveCharacters::defaultConfiguration in password_policy_consecutive/src/Plugin/PasswordConstraint/ConsecutiveCharacters.php
Gets default configuration for this plugin.
PasswordCharacter::defaultConfiguration in password_policy_characters/src/Plugin/PasswordConstraint/PasswordCharacter.php
Gets default configuration for this plugin.
PasswordHistory::defaultConfiguration in password_policy_history/src/Plugin/PasswordConstraint/PasswordHistory.php
Gets default configuration for this plugin.
PasswordLength::defaultConfiguration in password_policy_length/src/Plugin/PasswordConstraint/PasswordLength.php
Gets default configuration for this plugin.

... See full list

File

src/PasswordConstraintBase.php, line 53

Class

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

Namespace

Drupal\password_policy

Code

public function defaultConfiguration() {
  return [];
}