|
Tripal
|


Public Member Functions | |
| viewElements (FieldItemListInterface $items, $langcode) | |
| settingsForm (array $form, FormStateInterface $form_state) | |
| settingsSummary () | |
Public Member Functions inherited from Drupal\tripal\TripalField\TripalFormatterBase | |
| sanitizeKey ($key) | |
Static Public Member Functions | |
| static | defaultSettings () |
| static | settingsFormValidateBoolean (array $form, FormStateInterface $form_state) |
Plugin implementation of default Tripal boolean type formatter.
@FieldFormatter( id = "default_tripal_boolean_type_formatter", label = @Translation("Default Boolean Type Formatter"), description = @Translation("The default boolean type formatter."), field_types = { "tripal_boolean_type" } )
|
static |
{}
| Drupal\tripal\Plugin\Field\FieldFormatter\DefaultTripalBooleanTypeFormatter::settingsForm | ( | array | $form, |
| FormStateInterface | $form_state | ||
| ) |
{}
|
static |
Form element validation handler for boolean strings
| array | $form | The form where the settings form is being included in. |
| \Drupal\Core\Form\FormStateInterface | $form_state | The form state of the (entire) form. |
| Drupal\tripal\Plugin\Field\FieldFormatter\DefaultTripalBooleanTypeFormatter::settingsSummary | ( | ) |
{}
| Drupal\tripal\Plugin\Field\FieldFormatter\DefaultTripalBooleanTypeFormatter::viewElements | ( | FieldItemListInterface | $items, |
| $langcode | |||
| ) |
{}
Reimplemented in Drupal\tripal_chado\Plugin\Field\FieldFormatter\ChadoBooleanFormatterDefault.