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
+3 -3
View File
@@ -24,11 +24,11 @@ function hook_system_themes_page_alter(&$theme_groups) {
foreach ($theme_groups as $state => &$group) {
foreach ($theme_groups[$state] as &$theme) {
// Add a foo link to each list of theme operations.
$theme->operations[] = array(
$theme->operations[] = [
'title' => t('Foo'),
'url' => Url::fromRoute('system.themes_page'),
'query' => array('theme' => $theme->getName())
);
'query' => ['theme' => $theme->getName()]
];
}
}
}