public function Language::buildOptionsForm

Provide link to node option

Overrides Node::buildOptionsForm

File

drupal/core/modules/node/lib/Drupal/node/Plugin/views/field/Language.php, line 32
Definition of Drupal\node\Plugin\views\field\Language.

Class

Language
Field handler to translate a language into its readable form.

Namespace

Drupal\node\Plugin\views\field

Code

public function buildOptionsForm(&$form, &$form_state) {
  parent::buildOptionsForm($form, $form_state);
  $form['native_language'] = array(
    '#title' => t('Native language'),
    '#type' => 'checkbox',
    '#default_value' => $this->options['native_language'],
    '#description' => t('If enabled, the native name of the language will be displayed'),
  );
}