
| Current Path : /var/www/html/german-vocational.cn/core/modules/views/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/german-vocational.cn/core/modules/views/views.views_execution.inc |
<?php
/**
* @file
* Provides views runtime hooks for views.module.
*/
use Drupal\views\ViewExecutable;
use Drupal\views\Plugin\views\PluginBase;
/**
* Implements hook_views_query_substitutions().
*
* Makes the following substitutions:
* - Current time.
* - Drupal version.
* - Special language codes; see
* \Drupal\views\Plugin\views\PluginBase::listLanguages().
*/
function views_views_query_substitutions(ViewExecutable $view) {
$substitutions = [
'***CURRENT_VERSION***' => \Drupal::VERSION,
'***CURRENT_TIME***' => REQUEST_TIME,
] + PluginBase::queryLanguageSubstitutions();
return $substitutions;
}