Tripal
Public Member Functions | Static Public Member Functions | List of all members
Drupal\tripal_chado\TypedData\ChadoDataDefinition Class Reference
Inheritance diagram for Drupal\tripal_chado\TypedData\ChadoDataDefinition:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal_chado\TypedData\ChadoDataDefinition:
Collaboration graph
[legend]

Public Member Functions

 getPropertyDefinitions ()
 
 addPropertyDefinition ($key, $definition)
 
 setSearchable ($value)
 
 setSearchOperations ($value)
 
 setSortable ($value)
 

Static Public Member Functions

static create ($type='chado')
 

Detailed Description

inheritdoc}

Member Function Documentation

◆ addPropertyDefinition()

Drupal\tripal_chado\TypedData\ChadoDataDefinition::addPropertyDefinition (   $key,
  $definition 
)

Allows fields to dynamically add nested chado data definitions.

Parameters
string$keyThe name of the data definition. This should be the key for a specific piece of data (e.g. genus).
object$definitionThe Data definition for this particular piece of data. This should be an object whose type implements the \Drupal\Core\TypedData\DataDefinitionInterface.

◆ create()

static Drupal\tripal_chado\TypedData\ChadoDataDefinition::create (   $type = 'chado')
static

Creates a new chado data definition.

Parameters
string$type(optional) The data type of the chado data. Defaults to 'chado'.
Returns
static

◆ getPropertyDefinitions()

Drupal\tripal_chado\TypedData\ChadoDataDefinition::getPropertyDefinitions ( )

{}


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