|
| | __construct (array $configuration, $plugin_id, $plugin_definition, FileSystem $file_system, ModuleHandler $module_handler, TripalIdSpaceManager $idspace_manager, TripalVocabularyManager $vocabulary_manager, ChadoMviewsManager $mviews_manager, ChadoConnection $connection, Messenger $messenger, TripalLogger $logger, TripalFileRetriever $fileretriever, TripalBackendPublishManager $publish_manager,) |
| |
| | form ($form, &$form_state) |
| |
| | formSubmit ($form, &$form_state) |
| |
| | formValidate ($form, &$form_state) |
| |
| | run () |
| |
| | postRun () |
| |
| | __construct (array $configuration, $plugin_id, $plugin_definition, ChadoConnection $connection, ?Messenger $messenger=NULL, ?TripalLogger $logger=NULL, ?TripalFileRetriever $fileretriever=NULL, ?TripalBackendPublishManager $publish_manager=NULL,) |
| |
| | getChadoConnection () |
| |
| | startTransactions () |
| |
| | addAnalysis ($form, &$form_state) |
| |
| | __construct (array $configuration, $plugin_id, $plugin_definition, ?Messenger $messenger=NULL, ?TripalLogger $logger=NULL, ?TripalFileRetriever $fileretriever=NULL, ?TripalBackendPublishManager $publish_manager=NULL,) |
| |
| | describeUploadFileFormat () |
| |
| | setJob ($job) |
| |
| | rollbackTransaction (string $stage) |
| |
| | createImportJob ($run_args, $file_details=[]) |
| |
| | load ($import_id) |
| |
| | submitJob () |
| |
| | prepareFiles () |
| |
| | cleanFile () |
| |
| | setArguments (array $arguments) |
| |
| | getArguments () |
| |
|
| static | create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) |
| |
| static | formAjaxCallback ($form, &$form_state) |
| |
|
|
| $file_system |
| |
|
| $module_handler |
| |
|
| $idspace_manager |
| |
|
| $vocabulary_manager |
| |
|
| $mviews_manager |
| |
|
| $chado_schema_main |
| |
|
| $messenger = NULL |
| |
|
| $connection |
| |
| array | $bundle_type_id = [] |
| |
|
| $messenger = NULL |
| |
|
| $logger = NULL |
| |
|
| $fileretriever = NULL |
| |
|
| $publish_manager = NULL |
| |
| | $job |
| |
| | $arguments |
| |
| | $import_id |
| |
| | $is_prepared |
| |
|
| $reported |
| |
|
| $plugin_id |
| |
|
| $plugin_definition |
| |
◆ __construct()
| Drupal\tripal_chado\Plugin\TripalImporter\OBOImporter::__construct |
( |
array |
$configuration, |
|
|
|
$plugin_id, |
|
|
|
$plugin_definition, |
|
|
FileSystem |
$file_system, |
|
|
ModuleHandler |
$module_handler, |
|
|
TripalIdSpaceManager |
$idspace_manager, |
|
|
TripalVocabularyManager |
$vocabulary_manager, |
|
|
ChadoMviewsManager |
$mviews_manager, |
|
|
ChadoConnection |
$connection, |
|
|
Messenger |
$messenger, |
|
|
TripalLogger |
$logger, |
|
|
TripalFileRetriever |
$fileretriever, |
|
|
TripalBackendPublishManager |
$publish_manager |
|
) |
| |
◆ create()
| static Drupal\tripal_chado\Plugin\TripalImporter\OBOImporter::create |
( |
ContainerInterface |
$container, |
|
|
array |
$configuration, |
|
|
|
$plugin_id, |
|
|
|
$plugin_definition |
|
) |
| |
|
static |
Implements ContainerFactoryPluginInterface->create().
We are injecting several additional dependencies here.
Since we have implemented the ContainerFactoryPluginInterface this static function will be called behind the scenes when a Plugin Manager uses createInstance(). Specifically this method is used to determine the parameters to pass to the constructor.
- Parameters
-
| Symfony\Component\DependencyInjection\ContainerInterface | $container | The container. |
| array | $configuration | A configuration array containing information about the plugin instance. |
| string | $plugin_id | The plugin ID for the plugin instance. |
| mixed | $plugin_definition | The plugin implementation definition. |
- Returns
- static
Reimplemented from Drupal\tripal_chado\TripalImporter\ChadoImporterBase.
◆ form()
| Drupal\tripal_chado\Plugin\TripalImporter\OBOImporter::form |
( |
|
$form, |
|
|
& |
$form_state |
|
) |
| |
{{Provides form elements to be added to the loader form.These form elements are added after the file uploader section that is automaticaly provided by the TripalImporter.
- Parameters
-
| array | $form | The form array definition. |
| \Drupal\Core\Form\FormStateInterface | $form_state | The form state object. |
- Returns
- array A new form array definition.
}}
Reimplemented from Drupal\tripal_chado\TripalImporter\ChadoImporterBase.
◆ formAjaxCallback()
| static Drupal\tripal_chado\Plugin\TripalImporter\OBOImporter::formAjaxCallback |
( |
|
$form, |
|
|
& |
$form_state |
|
) |
| |
|
static |
Ajax callback for the OBOImporter::form() function.
- Parameters
-
| array | $form | The form array. |
| \Drupal\Core\Form\FormStateInterface | $form_state | The form state object. |
◆ formSubmit()
| Drupal\tripal_chado\Plugin\TripalImporter\OBOImporter::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.
- Parameters
-
| array | $form | The form array definition. |
| \Drupal\Core\Form\FormStateInterface | $form_state | The form state object. |
}
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
◆ formValidate()
| Drupal\tripal_chado\Plugin\TripalImporter\OBOImporter::formValidate |
( |
|
$form, |
|
|
& |
$form_state |
|
) |
| |
{Handles validation of the form elements.The form elements provided in the implementation of the form() function should be validated using this function.
- Parameters
-
| array | $form | The form array definition.* |
| \Drupal\Core\Form\FormStateInterface | $form_state | The form state object. |
}
Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.
◆ postRun()
| Drupal\tripal_chado\Plugin\TripalImporter\OBOImporter::postRun |
( |
| ) |
|
{Performs tasks after the importer has completed.If the importer form specified one or more bundles to be published, these will be listed under the 'publish' key in the run arguments.
- Returns
- void No return value.
}
Reimplemented from Drupal\tripal_chado\TripalImporter\ChadoImporterBase.
◆ run()
| Drupal\tripal_chado\Plugin\TripalImporter\OBOImporter::run |
( |
| ) |
|
The documentation for this class was generated from the following file:
- tripal_chado/src/Plugin/TripalImporter/OBOImporter.php