/** * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); // Set the default to TRUE so it shows on empty pages by default. $options['empty']['default'] = TRUE; return $options; }
/** * {@inheritdoc} */ public function buildOptionsForm(&$form, &$form_state) { parent::buildOptionsForm($form, $form_state); // Add tokenization form elements. $this->tokenForm($form, $form_state); }