public function FieldValidationRuleBase::defaultConfiguration in Field Validation 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
1 call to FieldValidationRuleBase::defaultConfiguration()
- FieldValidationRuleBase::setConfiguration in src/
FieldValidationRuleBase.php - Sets the configuration for this plugin instance.
14 methods override FieldValidationRuleBase::defaultConfiguration()
- BlacklistFieldValidationRule::defaultConfiguration in src/
Plugin/ FieldValidationRule/ BlacklistFieldValidationRule.php - Gets default configuration for this plugin.
- DateRangeFieldValidationRule::defaultConfiguration in src/
Plugin/ FieldValidationRule/ DateRangeFieldValidationRule.php - Gets default configuration for this plugin.
- EmailFieldValidationRule::defaultConfiguration in src/
Plugin/ FieldValidationRule/ EmailFieldValidationRule.php - Gets default configuration for this plugin.
- IntegerFieldValidationRule::defaultConfiguration in src/
Plugin/ FieldValidationRule/ IntegerFieldValidationRule.php - Gets default configuration for this plugin.
- IpFieldValidationRule::defaultConfiguration in src/
Plugin/ FieldValidationRule/ IpFieldValidationRule.php - Gets default configuration for this plugin.
File
- src/
FieldValidationRuleBase.php, line 203
Class
- FieldValidationRuleBase
- Provides a base class for FieldValidationRule.
Namespace
Drupal\field_validationCode
public function defaultConfiguration() {
return [];
}