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