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

Public Member Functions

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

Static Public Member Functions

static defaultSettings ()
 

Detailed Description

Plugin implementation of default Tripal stock formatter.

@FieldFormatter( id = "chado_stock_formatter_default", label = @Translation("Chado stock formatter"), description = @Translation("A chado stock formatter"), field_types = { "chado_stock_type_default" }, valid_tokens = { "[name]", "[uniquename]", "[description]", "[type]", "[is_obsolete]", "[database_name]", "[database_accession]", "[genus]", "[species]", "[infratype]", "[infratype_abbrev]", "[infraname]", "[abbreviation]", "[common_name]", }, )

Member Function Documentation

◆ defaultSettings()

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

{}

◆ viewElements()

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

{}


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