Tripal
|
Public Member Functions | |
form ($form, &$form_state) | |
formValidate ($form, &$form_state) | |
run () | |
postRun () | |
formSubmit ($form, &$form_state) | |
![]() | |
__construct (array $configuration, $plugin_id, $plugin_definition, ChadoConnection $connection) | |
getChadoConnection () | |
addAnalysis ($form, &$form_state) | |
![]() | |
__construct (array $configuration, $plugin_id, $plugin_definition) | |
describeUploadFileFormat () | |
setJob ($job) | |
createImportJob ($run_args, $file_details=[]) | |
load ($import_id) | |
submitJob () | |
prepareFiles () | |
cleanFile () | |
getArguments () | |
Static Public Member Functions | |
static | tripal_taxon_importer_set_ncbi_api_key ($form, &$form_state) |
![]() | |
static | create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) |
Additional Inherited Members | |
![]() | |
setTotalItems ($total_items) | |
addItemsHandled ($num_handled) | |
setItemsHandled ($total_handled) | |
setInterval ($interval) | |
![]() | |
$chado_schema_main | |
$messenger = NULL | |
$connection | |
![]() | |
$job | |
$logger | |
$arguments | |
$import_id | |
$is_prepared | |
$messenger = NULL | |
$reported | |
$plugin_id | |
$plugin_definition | |
Taxonomy Importer implementation of the TripalImporterBase.
@TripalImporter( id = "chado_taxonomy_loader", label = @Translation("Taxonomy Loader"), description = @Translation("Import a Taxonomy into Chado"), file_types = {"gff","gff3"}, upload_description = @Translation("Please provide the Taxonomy file."), upload_title = @Translation("Taxonomy File"), use_analysis = False, require_analysis = False, button_text = @Translation("Import Taxonomy"), file_upload = FALSE, file_local = FALSE, file_remote = FALSE, file_required = FALSE, )
Drupal\tripal_chado\Plugin\TripalImporter\TaxonomyImporter::form | ( | $form, | |
& | $form_state | ||
) |
Reimplemented from Drupal\tripal_chado\TripalImporter\ChadoImporterBase.
Drupal\tripal_chado\Plugin\TripalImporter\TaxonomyImporter::formSubmit | ( | $form, | |
& | $form_state | ||
) |
{Handles submission of the form elements.The form elements provided in the implementation of the form() function can be used for special submit if needed.
array | $form | The form array definition. |
\Drupal\Core\Form\FormStateInterface | $form_state | The form state object. |
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
Drupal\tripal_chado\Plugin\TripalImporter\TaxonomyImporter::formValidate | ( | $form, | |
& | $form_state | ||
) |
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
Drupal\tripal_chado\Plugin\TripalImporter\TaxonomyImporter::postRun | ( | ) |
{Performs the import.}
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
Drupal\tripal_chado\Plugin\TripalImporter\TaxonomyImporter::run | ( | ) |
Performs the import.
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
|
static |
Ajax callback for the TaxonomyImporter::form() function.
It is called when the user makes a change to the NCBI API key field and then moves their cursor out of the field.
array | $form | The new form element. |
\Drupal\Core\Form\FormStateInterface | $form_state | The state of the new form element. |