Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
@ -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()]
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue