so__transcript_widget.inc 660 B

1234567891011121314151617181920212223242526
  1. <?php
  2. class so__transcript_widget extends ChadoFieldWidget {
  3. // The default lable for this field.
  4. public static $default_label = 'Transcript';
  5. // The list of field types for which this formatter is appropriate.
  6. public static $field_types = ['so__transcript'];
  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 submit($form, &$form_state, $entity_type, $entity, $langcode, $delta) {
  19. }
  20. }