Update core 8.3.0

This commit is contained in:
Rob Davies 2017-04-13 15:53:35 +01:00
parent da7a7918f8
commit cd7a898e66
6144 changed files with 132297 additions and 87747 deletions

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;
}