You are here

public function ErrorReporting::defaultConfiguration in Production check & Production monitor 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ProdCheckBase::defaultConfiguration

File

src/Plugin/ProdCheck/Settings/ErrorReporting.php, line 87

Class

ErrorReporting
User register settings check

Namespace

Drupal\prod_check\Plugin\ProdCheck\Settings

Code

public function defaultConfiguration() {
  $configuration = parent::defaultConfiguration();
  $configuration['options'] = [
    ERROR_REPORTING_HIDE => ERROR_REPORTING_HIDE,
    ERROR_REPORTING_DISPLAY_SOME => 0,
    ERROR_REPORTING_DISPLAY_ALL => 0,
    ERROR_REPORTING_DISPLAY_VERBOSE => 0,
  ];
  return $configuration;
}