You are here

public function ViewsJsonParameter::buildOptionsForm in Views Json Source 8

Same name and namespace in other branches
  1. 1.x src/Plugin/views/argument/ViewsJsonParameter.php \Drupal\views_json_source\Plugin\views\argument\ViewsJsonParameter::buildOptionsForm()

Provide a form to edit options for this plugin.

Overrides ArgumentPluginBase::buildOptionsForm

File

src/Plugin/views/argument/ViewsJsonParameter.php, line 27

Class

ViewsJsonParameter
Base argument handler for views_json_source.

Namespace

Drupal\views_json_source\Plugin\views\argument

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {
  $form['markup'] = [
    '#markup' => $this
      ->t('Add this field to pick the dynamic node from the response.'),
  ];
}