Tripal
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Drupal\tripal_chado\Plugin\Field\FieldWidget\ChadoDbxrefWidgetDefault Class Reference
Inheritance diagram for Drupal\tripal_chado\Plugin\Field\FieldWidget\ChadoDbxrefWidgetDefault:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal_chado\Plugin\Field\FieldWidget\ChadoDbxrefWidgetDefault:
Collaboration graph
[legend]

Public Member Functions

 formElement (FieldItemListInterface $items, $delta, array $element, array &$form, FormStateInterface $form_state)
 
 massageFormValues (array $values, array $form, FormStateInterface $form_state)
 
 widgetAjaxCallback ($form, &$form_state)
 
- Public Member Functions inherited from Drupal\tripal_chado\TripalField\ChadoWidgetBase
 selectSettingsForm (array $form, FormStateInterface $form_state)
 
 selectSettingsSummary ()
 
- Public Member Functions inherited from Drupal\tripal\TripalField\TripalWidgetBase
 sanitizeKey ($key)
 

Additional Inherited Members

- Static Public Member Functions inherited from Drupal\tripal_chado\TripalField\ChadoWidgetBase
static defaultSelectSettings ()
 
static validateAutocomplete ($element, FormStateInterface $form_state)
 
- Protected Member Functions inherited from Drupal\tripal_chado\TripalField\ChadoWidgetBase
 saveInitialValues (int $delta, string $field_name, int $linker_id, FormStateInterface &$form_state)
 
 getSelectLimit (?int $select_limit=NULL)
 
 genericSelectElement (string $pkey_column, ?int $default_id, array $options,)
 
 massageLinkingFormValues (string $fkey, array $values, FormStateInterface $form_state, string $linker_key='linker_id',)
 
 genericSelectMassageFormValues (string $pkey_id, array $values)
 
 massagePropertyFormValues (string $val, array $values, FormStateInterface $form_state, ?string $rank_term=NULL, string $linker_key='prop_id',)
 
 getMatchOperatorOptions ()
 
- Protected Member Functions inherited from Drupal\tripal\TripalField\TripalWidgetBase
 formMultipleElements (FieldItemListInterface $items, array &$form, FormStateInterface $form_state)
 

Member Function Documentation

◆ formElement()

Drupal\tripal_chado\Plugin\Field\FieldWidget\ChadoDbxrefWidgetDefault::formElement ( FieldItemListInterface  $items,
  $delta,
array  $element,
array &  $form,
FormStateInterface  $form_state 
)

{}

◆ massageFormValues()

Drupal\tripal_chado\Plugin\Field\FieldWidget\ChadoDbxrefWidgetDefault::massageFormValues ( array  $values,
array  $form,
FormStateInterface  $form_state 
)

◆ widgetAjaxCallback()

Drupal\tripal_chado\Plugin\Field\FieldWidget\ChadoDbxrefWidgetDefault::widgetAjaxCallback (   $form,
$form_state 
)

Ajax callback to update the db_id for the accession autocomplete.

Parameters
array$formThe form array.
\Drupal\Core\Form\FormStateInterface$form_stateThe form state object.

The documentation for this class was generated from the following file: