Tripal
Public Member Functions | Static Public Member Functions | List of all members
Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoSequenceFormatterDefault Class Reference
Inheritance diagram for Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoSequenceFormatterDefault:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoSequenceFormatterDefault:
Collaboration graph
[legend]

Public Member Functions

 viewElements (FieldItemListInterface $items, $langcode)
 
 settingsForm (array $form, FormStateInterface $form_state)
 
 settingsSummary ()
 
- Public Member Functions inherited from Drupal\tripal_chado\TripalField\ChadoFormatterBase
 settingsFormValidateTokenString (array $form, FormStateInterface $form_state)
 
- Public Member Functions inherited from Drupal\tripal\TripalField\TripalFormatterBase
 sanitizeKey ($key)
 

Static Public Member Functions

static defaultSettings ()
 
static settingsFormValidateLineLength (array $form, FormStateInterface $form_state)
 

Detailed Description

Plugin implementation of Default Tripal field formatter for sequence data

@FieldFormatter( id = "chado_sequence_formatter_default", label = @Translation("Chado Sequence Residues Display"), description = @Translation("Displays chado sequence residues from the feature table on the page."), field_types = { "chado_sequence_type_default" } )

Member Function Documentation

◆ defaultSettings()

static Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoSequenceFormatterDefault::defaultSettings ( )
static

{}

◆ settingsForm()

Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoSequenceFormatterDefault::settingsForm ( array  $form,
FormStateInterface  $form_state 
)

◆ settingsFormValidateLineLength()

static Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoSequenceFormatterDefault::settingsFormValidateLineLength ( array  $form,
FormStateInterface  $form_state 
)
static

Form element validation handler for line wrap setting

Parameters
array$formThe form where the settings form is being included in.
\Drupal\Core\Form\FormStateInterface$form_stateThe form state of the (entire) form.

◆ settingsSummary()

Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoSequenceFormatterDefault::settingsSummary ( )

◆ viewElements()

Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoSequenceFormatterDefault::viewElements ( FieldItemListInterface  $items,
  $langcode 
)

{}


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