'textarea', '#title' => t('Source'), '#default_value' => @$config['file'], ); return $form; } /** * Returns a set of errors keyed by the form elements that * Can also be used to alter block configuration. * @param $config * @param $form_state */ public function configValidate(&$config) { } public function generate($config) { } }