You are here

public function MetatagViewsCacheWrapper::globalTokenForm in Metatag 8

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.

Overrides PluginBase::globalTokenForm

File

metatag_views/src/MetatagViewsCacheWrapper.php, line 306

Class

MetatagViewsCacheWrapper
This class wraps a Views cache plugin.

Namespace

Drupal\metatag_views

Code

public function globalTokenForm(&$form, FormStateInterface $form_state) {
  $this->plugin
    ->globalTokenForm($form, $form_state);
}