Tripal
Public Member Functions | Static Public Member Functions | List of all members
Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoDbxrefFormatterDefault Class Reference
Inheritance diagram for Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoDbxrefFormatterDefault:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoDbxrefFormatterDefault:
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 dbxref formatter.

@FieldFormatter( id = "chado_dbxref_formatter_default", label = @Translation("Chado dbxref formatter"), description = @Translation("A chado dbxref formatter"), field_types = { "chado_dbxref_type_default" }, valid_tokens = { "[accession]", "[version]", "[description]", "[db_name]", "[db_description]", "[db_urlprefix]", "[db_url]", }, )

Member Function Documentation

◆ defaultSettings()

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

{}

◆ viewElements()

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

{}


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