protected function MinimumPhpVersion::getMessage in Automatic Updates 8
Get the message to return if the current PHP version is unsupported.
Return value
\Drupal\Component\Render\MarkupInterface The message to return if the current PHP version is unsupported.
Overrides SupportedPhpVersion::getMessage
File
- src/
ReadinessChecker/ MinimumPhpVersion.php, line 27
Class
- MinimumPhpVersion
- Minimum PHP version checker.
Namespace
Drupal\automatic_updates\ReadinessCheckerCode
protected function getMessage() {
return $this
->t('This site is running on an unsupported version of PHP. It cannot be updated. Please update to at least PHP @version.', [
'@version' => DRUPAL_MINIMUM_SUPPORTED_PHP,
]);
}