Tripal
|
Public Member Functions | |
__construct (array $configuration, $plugin_id, $plugin_definition) | |
setDefaultVocabulary ($name) | |
![]() | |
getName () | |
![]() | |
getParent ($child) | |
getChildren ($parent=NULL) | |
getTerm ($accession, $options=[]) | |
getTerms ($name, $options=[]) | |
getDefaultVocabulary () | |
saveTerm (TripalTerm $term, array $options=[]) | |
removeTerm ($accession) | |
getURLPrefix () | |
setURLPrefix ($prefix) | |
getDescription () | |
setDescription ($description) | |
![]() | |
createRecord () | |
destroy () | |
isValid () | |
recordExists () | |
Additional Inherited Members | |
![]() | |
$messageLogger = NULL | |
Base class for tripal id space plugins.
Drupal\tripal\TripalVocabTerms\TripalIdSpaceBase::__construct | ( | array | $configuration, |
$plugin_id, | |||
$plugin_definition | |||
) |
{{}}
Reimplemented from Drupal\tripal\TripalVocabTerms\TripalCollectionPluginBase.
Reimplemented in Drupal\tripal\Plugin\TripalIdSpace\TripalDefaultIdSpace.
Drupal\tripal\TripalVocabTerms\TripalIdSpaceBase::setDefaultVocabulary | ( | $name | ) |
{Sets the default vocabulary of this id space to the given vocabulary name.Removes this id space from its previous default vocabulary if one is set and then adds this id space to its new default vocabulary if the given name is not NULL. It is still the responsibility of an implementation to actually save changes to its default vocabulary.
string | name The vocabulary name. |
Implements Drupal\tripal\TripalVocabTerms\Interfaces\TripalIdSpaceInterface.
Reimplemented in Drupal\tripal\Plugin\TripalIdSpace\TripalDefaultIdSpace, and Drupal\tripal_chado\Plugin\TripalIdSpace\ChadoIdSpace.