$rows['statistics'
][] =
[ [ 'data' =>
[ '#type' => 'inline_template',
'#template' => "<strong>{% trans 'View render time' %}</strong>",
],
],
t('@time ms',
['@time' =>
intval($this->render_time * 100
) / 100
]),
];
} \Drupal::
moduleHandler()->
alter('views_preview_info',
$rows,
$executable);
} else { // No query was run. Display that information in place of either the
// query or the performance statistics, whichever comes first.
if ($combined || ($show_location === 'above'
)) { $rows['query'
][] =
[ [ 'data' =>
[ '#prefix' => '<strong>',
'#markup' =>
t('Query'
),
'#suffix' => '</strong>',
],