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

@FieldFormatter( id = "chado_protocol_formatter_default", label = @Translation("Chado protocol formatter"), description = @Translation("A chado protocol formatter"), field_types = { "chado_protocol_type_default" }, valid_tokens = { "[name]", "[description]", "[hardware]", "[software]", "[type]", "[pub_title]", "[database_name]", "[database_accession]", }, )

Member Function Documentation

◆ defaultSettings()

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

{}

◆ viewElements()

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

{}


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