public function ModuleList::state in Production check & Production monitor 8
Calculates the state for the check.
Return value
bool TRUE if the check passed FALSE otherwise
Overrides ProdCheckInterface::state
File
- src/
Plugin/ ProdCheck/ Modules/ ModuleList.php, line 138 - Contains \Drupal\prod_check\Plugin\ProdCheck\Modules\ModuleList.
Class
- ModuleList
- Returns a list of installed modules (and their updates).
Namespace
Drupal\prod_check\Plugin\ProdCheck\ModulesCode
public function state() {
return $this->moduleListRefreshed;
}