updated core and modules

This commit is contained in:
Bachir Soussi Chiadmi
2017-09-09 16:27:51 +02:00
parent 027aa99b32
commit 41863f872c
7810 changed files with 318922 additions and 83631 deletions
+1 -4
View File
@@ -13,7 +13,7 @@ use Drupal\Core\Extension\Extension;
* Implements hook_theme().
*/
function twig_theme($existing, $type, $theme, $path) {
$templates = drupal_find_theme_functions($existing, array($theme));
$templates = drupal_find_theme_functions($existing, [$theme]);
$templates += drupal_find_theme_templates($existing, '.html.twig', $path);
return $templates;
}
@@ -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
+3 -3
View File
@@ -4,8 +4,8 @@ name: Twig
# version: VERSION
package: Core
# Information added by Drupal.org packaging script on 2016-08-03
version: '8.1.8'
# Information added by Drupal.org packaging script on 2017-08-16
version: '8.3.7'
core: '8.x'
project: 'drupal'
datestamp: 1470233792
datestamp: 1502903957