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 | |
Taxonomy Importer implementation of the TripalImporterBase.
@TripalImporter( id = "chado_newick_tree_loader", label = @Translation("Newick Tree Loader"), description = @Translation("Import Newick Tree into Chado"), file_types = {"tree","txt","newick"}, upload_description = @Translation("Please provide the Newick formatted tree file (one tree per file only)."), upload_title = @Translation("Newick Tree File"), use_analysis = True, require_analysis = True, button_text = @Translation("Import Newick Tree file"), file_upload = True, file_remote = False, file_required = False, )
Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::form | ( | $form, | |
& | $form_state | ||
) |
Reimplemented from Drupal\tripal_chado\TripalImporter\ChadoImporterBase.
Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::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\NewickImporter::formValidate | ( | $form, | |
& | $form_state | ||
) |
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::postRun | ( | ) |
{Performs the import.}
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::run | ( | ) |
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.