public function PendingDbUpdates::run in Automatic Updates 8
Run check.
Return value
array An array of translatable strings.
Overrides ReadinessCheckerInterface::run
File
- src/
ReadinessChecker/ PendingDbUpdates.php, line 34
Class
- PendingDbUpdates
- Pending database updates checker.
Namespace
Drupal\automatic_updates\ReadinessCheckerCode
public function run() {
$messages = [];
if ($this
->areDbUpdatesPending()) {
$messages[] = $this
->t('There are pending database updates. Please run update.php.');
}
return $messages;
}