12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- class chado_linker__featureloc_widget extends TripalFieldWidget {
- // The default lable for this field.
- public static $label = 'Aligned Locations';
- // The list of field types for which this formatter is appropriate.
- public static $field_types = array('chado_linker__featureloc');
- /**
- *
- * @see TripalFieldWidget::form()
- */
- public function form(&$widget, &$form, &$form_state, $langcode, $items, $delta, $element) {
- parent::form($widget, $form, $form_state, $langcode, $items, $delta, $element);
- }
- /**
- * Performs validation of the widgetForm.
- *
- * Use this validate to ensure that form values are entered correctly. Note
- * this is different from the validate() function which ensures that the
- * field data meets expectations.
- *
- * @param $form
- * @param $form_state
- */
- public function validate($form, &$form_state, $entity_type, $entity, $langcode, $delta) {
- }
- /**
- *
- * @see TripalFieldWidget::submit()
- */
- public function submit($form, &$form_state, $entity_type, $entity, $langcode, $delta) {
- }
- }
|