예제 #1
0
 /**
  * {@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;
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function buildOptionsForm(&$form, &$form_state)
 {
     parent::buildOptionsForm($form, $form_state);
     // Add tokenization form elements.
     $this->tokenForm($form, $form_state);
 }