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 () | |
Additional Inherited Members | |
![]() | |
static | create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) |
![]() | |
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 | |
GFF3 Importer implementation of the TripalImporterBase.
@TripalImporter( id = "chado_fasta_loader", label = @Translation("Chado FASTA File Loader"), description = @Translation("Import a FASTA file into Chado"), file_types = {"fasta","txt","fa","aa","pep","nuc","faa","fna"}, upload_description = @Translation("Please provide a plain text file following the <a target='_blank' href='https://en.wikipedia.org/wiki/FASTA_format'>FASTA format specification</a>."), upload_title = @Translation("FASTA File"), use_analysis = True, require_analysis = True, button_text = @Translation("Import FASTA file"), file_upload = True, file_remote = True, file_local = True, file_required = True, )
Drupal\tripal_chado\Plugin\TripalImporter\FASTAImporter::form | ( | $form, | |
& | $form_state | ||
) |
Reimplemented from Drupal\tripal_chado\TripalImporter\ChadoImporterBase.
Drupal\tripal_chado\Plugin\TripalImporter\FASTAImporter::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\FASTAImporter::formValidate | ( | $form, | |
& | $form_state | ||
) |
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
Drupal\tripal_chado\Plugin\TripalImporter\FASTAImporter::postRun | ( | ) |
{Performs the import.}
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
Drupal\tripal_chado\Plugin\TripalImporter\FASTAImporter::run | ( | ) |
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.