/** * {@inheritdoc} */ public function buildOptionsForm(&$form, &$form_state) { parent::buildOptionsForm($form, $form_state); $form['content'] = array('#title' => t('Content'), '#type' => 'textarea', '#default_value' => $this->options['content'], '#rows' => 6); }
/** * {@inheritdoc} */ public function buildOptionsForm(&$form, &$form_state) { parent::buildOptionsForm($form, $form_state); $form['content'] = array('#title' => t('Content'), '#type' => 'text_format', '#default_value' => $this->options['content'], '#rows' => 6, '#format' => isset($this->options['format']) ? $this->options['format'] : filter_default_format(), '#editor' => FALSE); }