public function ProdCheckBase::defaultConfiguration in Production check & Production monitor 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
4 calls to ProdCheckBase::defaultConfiguration()
- ErrorReporting::defaultConfiguration in src/
Plugin/ ProdCheck/ Settings/ ErrorReporting.php - Gets default configuration for this plugin.
- ProdCheckBase::__construct in src/
Plugin/ ProdCheck/ ProdCheckBase.php - Constructs a Drupal\Component\Plugin\PluginBase object.
- ReleaseNotes::defaultConfiguration in src/
Plugin/ ProdCheck/ Server/ ReleaseNotes.php - Gets default configuration for this plugin.
- UserRegister::defaultConfiguration in src/
Plugin/ ProdCheck/ Settings/ UserRegister.php - Gets default configuration for this plugin.
3 methods override ProdCheckBase::defaultConfiguration()
- ErrorReporting::defaultConfiguration in src/
Plugin/ ProdCheck/ Settings/ ErrorReporting.php - Gets default configuration for this plugin.
- ReleaseNotes::defaultConfiguration in src/
Plugin/ ProdCheck/ Server/ ReleaseNotes.php - Gets default configuration for this plugin.
- UserRegister::defaultConfiguration in src/
Plugin/ ProdCheck/ Settings/ UserRegister.php - Gets default configuration for this plugin.
File
- src/
Plugin/ ProdCheck/ ProdCheckBase.php, line 199
Class
- ProdCheckBase
- Base class for all the prod check plugins.
Namespace
Drupal\prod_check\Plugin\ProdCheckCode
public function defaultConfiguration() {
return [
'severity' => ProdCheck::REQUIREMENT_WARNING,
];
}