class ProdCheck in Production check & Production monitor 8
Same name in this branch
- 8 src/ProdCheck.php \Drupal\prod_check\ProdCheck
- 8 src/Annotation/ProdCheck.php \Drupal\prod_check\Annotation\ProdCheck
- 8 src/Entity/ProdCheck.php \Drupal\prod_check\Entity\ProdCheck
Utility class for the prod check module
Hierarchy
- class \Drupal\prod_check\ProdCheck
Expanded class hierarchy of ProdCheck
3 files declare their use of ProdCheck
- ProdCheckBase.php in src/
Plugin/ ProdCheck/ ProdCheckBase.php - ProdCheckProcessorBase.php in src/
Plugin/ ProdCheckProcessor/ ProdCheckProcessorBase.php - prod_check.module in ./
prod_check.module - Module file for the prod check module
File
- src/
ProdCheck.php, line 8
Namespace
Drupal\prod_checkView source
class ProdCheck {
/**
* Our own definition of the core requirements states. These can be found in
* includes/install.inc and are only available in hook_install(). That's why
* we redefine them here (yes, it's double!). It's nicer than including the
* install.inc file.
*/
/**
* Requirement severity -- Informational message only.
*/
const REQUIREMENT_INFO = -1;
/**
* Requirement severity -- Requirement successfully met.
*/
const REQUIREMENT_OK = 0;
/**
* Requirement severity -- Warning condition; proceed but flag warning.
*/
const REQUIREMENT_WARNING = 1;
/**
* Requirement severity -- Error condition; abort installation.
*/
const REQUIREMENT_ERROR = 2;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ProdCheck:: |
constant | Requirement severity -- Error condition; abort installation. | ||
ProdCheck:: |
constant | Requirement severity -- Informational message only. | ||
ProdCheck:: |
constant | Requirement severity -- Requirement successfully met. | ||
ProdCheck:: |
constant | Requirement severity -- Warning condition; proceed but flag warning. |