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

Static Public Member Functions

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

Static Public Attributes

static $id = "tripal_integer_type"
 

Additional Inherited Members

- Public Member Functions inherited from Drupal\tripal\TripalField\TripalFieldItemBase
 fieldSettingsForm (array $form, FormStateInterface $form_state)
 
 storageSettingsForm (array &$form, FormStateInterface $form_state, $has_data)
 
 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\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 the 'integer' field type.

@FieldType( id = "tripal_integer_type", label = @Translation("Tripal Integer Field Type"), description = @Translation("An integer field."), default_widget = "default_tripal_integer_type_widget", default_formatter = "default_tripal_integer_type_formatter" )

Member Function Documentation

◆ tripalTypes()

static Drupal\tripal\Plugin\Field\FieldType\TripalIntegerTypeItem::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: