Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
@ -21,7 +21,7 @@ function nyan_cat_init(Extension $theme) {
|
|||
* Implements hook_theme().
|
||||
*/
|
||||
function nyan_cat_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, '.nyan-cat.html', $path);
|
||||
return $templates;
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ function test_subtheme_views_post_render(ViewExecutable $view, &$output, CachePl
|
|||
// We append the function name to the title for test to check for.
|
||||
$view->setTitle($view->getTitle() . ":" . __FUNCTION__);
|
||||
if ($view->id() == 'test_page_display') {
|
||||
$output['#rows'][0]['#title'] = t('%total_rows items found.', array('%total_rows' => $view->total_rows));
|
||||
$output['#rows'][0]['#title'] = t('%total_rows items found.', ['%total_rows' => $view->total_rows]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue