Commit 9a0f369b authored by catch's avatar catch
Browse files

Issue #2686931 by Mirroar: system_requirements should not call Renderer::render()

parent 63b7ded4
......@@ -678,7 +678,7 @@ function system_requirements($phase) {
$entity_update_issues = \Drupal::service('renderer')->render($build);
$entity_update_issues = \Drupal::service('renderer')->renderPlain($build);
$requirements['entity_update']['severity'] = REQUIREMENT_ERROR;
$requirements['entity_update']['value'] = t('Mismatched entity and/or field definitions');
$requirements['entity_update']['description'] = t('The following changes were detected in the entity type and field definitions. @updates', ['@updates' => $entity_update_issues]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment