Chris@0: \Drupal::VERSION, Chris@0: '***CURRENT_TIME***' => REQUEST_TIME, Chris@0: ] + PluginBase::queryLanguageSubstitutions(); Chris@0: Chris@0: return $substitutions; Chris@0: } Chris@18: Chris@18: /** Chris@18: * Implements hook_views_form_substitutions(). Chris@18: */ Chris@18: function views_views_form_substitutions() { Chris@18: $select_all = [ Chris@18: '#type' => 'checkbox', Chris@18: '#default_value' => FALSE, Chris@18: '#attributes' => ['class' => ['action-table-select-all']], Chris@18: ]; Chris@18: return [ Chris@18: '' => \Drupal::service('renderer')->render($select_all), Chris@18: ]; Chris@18: }