You are here

public function ViewsPluginInterface::globalTokenForm in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/ViewsPluginInterface.php \Drupal\views\Plugin\views\ViewsPluginInterface::globalTokenForm()

Adds elements for available core tokens to a form.

Parameters

array $form: The form array to alter, passed by reference.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

1 method overrides ViewsPluginInterface::globalTokenForm()
PluginBase::globalTokenForm in core/modules/views/src/Plugin/views/PluginBase.php
Adds elements for available core tokens to a form.

File

core/modules/views/src/Plugin/views/ViewsPluginInterface.php, line 101

Class

ViewsPluginInterface
Provides an interface for all views plugins.

Namespace

Drupal\views\Plugin\views

Code

public function globalTokenForm(&$form, FormStateInterface $form_state);