so__cds_widget.inc 643 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. class so__cds_widget extends ChadoFieldWidget {
  3. // The default label for this field.
  4. public static $default_label = 'Coding Sequence';
  5. // The list of field types for which this formatter is appropriate.
  6. public static $field_types = ['so__cds'];
  7. /**
  8. *
  9. * @see TripalFieldWidget::form()
  10. */
  11. public function form(&$widget, &$form, &$form_state, $langcode, $items, $delta, $element) {
  12. parent::form($widget, $form, $form_state, $langcode, $items, $delta, $element);
  13. }
  14. /**
  15. *
  16. * @see TripalFieldWidget::submit()
  17. */
  18. public function validate($element, $form, &$form_state, $langcode, $delta) {
  19. }
  20. }