public static function LaunchImportForm::getUpdateOptions in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Form/LaunchImportForm.php \Drupal\content_synchronizer\Form\LaunchImportForm::getUpdateOptions()
- 3.x src/Form/LaunchImportForm.php \Drupal\content_synchronizer\Form\LaunchImportForm::getUpdateOptions()
Return update options.
Return value
array The update options.
3 calls to LaunchImportForm::getUpdateOptions()
- ContentSynchronizerCommands::synchronizerLaunchImport in src/
Commands/ ContentSynchronizerCommands.php - Launch the import of the passed ID.
- drush_content_synchronizer_launch_import in ./
content_synchronizer.drush.inc - Launche the specified import.
- LaunchImportForm::buildForm in src/
Form/ LaunchImportForm.php - Form constructor.
File
- src/
Form/ LaunchImportForm.php, line 103
Class
- LaunchImportForm
- Launch Import Form.
Namespace
Drupal\content_synchronizer\FormCode
public static function getUpdateOptions() {
return [
ImportProcessor::UPDATE_SYSTEMATIC => t(static::UPDATE_ACTION_SYSTEMATIC_LABEL),
ImportProcessor::UPDATE_IF_RECENT => t(static::UPDATE_ACTION_IF_RECENT_LABEL),
ImportProcessor::UPDATE_NO_UPDATE => t(static::UPDATE_ACTION_NO_UPDATE_LABEL),
];
}