TRUE]; return $options; } /** * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { $form['score'] = [ '#type' => 'checkbox', '#title' => $this->t('Display score'), '#default_value' => $this->options['score'], ]; } /** * {@inheritdoc} */ public function render($row) { return [ '#theme' => $this->themeFunctions(), '#view' => $this->view, '#options' => $this->options, '#row' => $row, ]; } }