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

Static Public Member Functions

static mainPropertyName ()
 
static defaultStorageSettings ()
 
static defaultFieldSettings ()
 
static tripalTypes ($field_definition)
 
- Static Public Member Functions inherited from Drupal\tripal_chado\TripalField\ChadoFieldItemBase
static storageSettingsFormValidateBaseTable (array $form, FormStateInterface $form_state)
 
static storageSettingsFormValidateLinkingMethod (array $form, FormStateInterface $form_state)
 
- Static Public Member Functions inherited from Drupal\tripal\TripalField\TripalFieldItemBase
static fieldSettingsFormValidate (array $form, FormStateInterface $form_state)
 
static propertyDefinitions (FieldStorageDefinitionInterface $field_definition)
 
static schema (FieldStorageDefinitionInterface $field_definition)
 

Static Public Attributes

static $id = 'chado_study_type_default'
 

Static Protected Attributes

static $object_table = 'study'
 
static $object_id = 'study_id'
 
- Static Protected Attributes inherited from Drupal\tripal_chado\TripalField\ChadoFieldItemBase
static $table_column_delimiter = " \u{2192} "
 

Additional Inherited Members

- Public Member Functions inherited from Drupal\tripal_chado\TripalField\ChadoFieldItemBase
 storageSettingsForm (array &$form, FormStateInterface $form_state, $has_data)
 
 storageSettingsFormBaseTableAjaxCallback ($form, &$form_state)
 
 storageSettingsFormLinkingMethodAjaxCallback ($form, &$form_state)
 
- Public Member Functions inherited from Drupal\tripal\TripalField\TripalFieldItemBase
 fieldSettingsForm (array $form, FormStateInterface $form_state)
 
 tripalStorageId ()
 
 tripalSave ($field_item, $field_name, $prop_types, $prop_values, $entity)
 
 tripalLoad ($field_item, $field_name, $prop_types, $prop_values, $entity)
 
 tripalClear ($field_item, $field_name, $prop_types, $prop_values, $entity)
 
 sanitizeKey ($key)
 
 tripalValuesTemplate ($field_definition, $default_value=NULL)
 
- Protected Member Functions inherited from Drupal\tripal_chado\TripalField\ChadoFieldItemBase
 getBaseTables ($linked_table, $has_linker_table=FALSE)
 
 getTableColumns ($table_name='', $column_types=[])
 
 getLinkerTables ($linked_table, $base_table, $delimiter=" \u{2192} ")
 
- Protected Member Functions inherited from Drupal\tripal\TripalField\TripalFieldItemBase
 buildVocabularyTermTable (array &$elements, \Drupal\tripal\TripalVocabTerms\TripalTerm $term, \Drupal\tripal\TripalVocabTerms\TripalIdSpaceBase $idSpace, \Drupal\tripal\TripalVocabTerms\TripalVocabularyBase $vocabulary)
 

Detailed Description

Plugin implementation of default Tripal study field type.

@FieldType( id = "chado_study_type_default", object_table = "study", label = @Translation("Chado Study"), description = @Translation("Add a Chado study to the content type."), default_widget = "chado_study_widget_default", default_formatter = "chado_study_formatter_default", )

Member Function Documentation

◆ defaultFieldSettings()

static Drupal\tripal_chado\Plugin\Field\FieldType\ChadoStudyTypeDefault::defaultFieldSettings ( )
static

◆ defaultStorageSettings()

static Drupal\tripal_chado\Plugin\Field\FieldType\ChadoStudyTypeDefault::defaultStorageSettings ( )
static

◆ mainPropertyName()

static Drupal\tripal_chado\Plugin\Field\FieldType\ChadoStudyTypeDefault::mainPropertyName ( )
static

{}

◆ tripalTypes()

static Drupal\tripal_chado\Plugin\Field\FieldType\ChadoStudyTypeDefault::tripalTypes (   $field_definition)
static

{Returns the property types required by this field.

Parameters
object$field_definitionThe field configuration object. This can be an instance of: \Drupal\field\Entity\FieldStorageConfig or \Drupal\field\Entity\FieldConfig
Returns
array Array of \Drupal\tripal\TripalStorage\StoragePropertyTypeBase property types.
}

Implements Drupal\tripal\TripalField\Interfaces\TripalFieldItemInterface.


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