Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
@ -63,9 +63,6 @@ function twig_render_template($template_file, array $variables) {
|
|||
try {
|
||||
$output['rendered_markup'] = $twig_service->loadTemplate($template_file)->render($variables);
|
||||
}
|
||||
catch (\Twig_Error_Loader $e) {
|
||||
drupal_set_message($e->getMessage(), 'error');
|
||||
}
|
||||
catch (\Twig_Error_Runtime $e) {
|
||||
// In case there is a previous exception, re-throw the previous exception,
|
||||
// so that the original exception is shown, rather than
|
||||
|
|
Reference in a new issue