Public Member Functions | |
| __construct () | |
| index () | |
| register ($harvest_plan) | |
| deregister ($id) | |
| run ($id) | |
| runAll () | |
| info ($id, $run_id=NULL) | |
| revert ($id) | |
Protected Attributes | |
| $harvestFactory | |
| $harvestService | |
| $logger | |
| Drupal\dkan_harvest\Drush\Commands::__construct | ( | ) |
Commands constructor.
Definition at line 42 of file Commands.php.
| Drupal\dkan_harvest\Drush\Commands::deregister | ( | $id | ) |
| Drupal\dkan_harvest\Drush\Commands::index | ( | ) |
Lists available harvests.
@command dkan-harvest:list
@usage dkan-harvest:list List available harvests.
Definition at line 56 of file Commands.php.
| Drupal\dkan_harvest\Drush\Commands::info | ( | $id, | |
$run_id = NULL |
|||
| ) |
Gives information about a previous harvest run.
| string | $id | The harvest id. |
| string | $run_id | The run's id. |
@command dkan-harvest:info
Definition at line 149 of file Commands.php.
| Drupal\dkan_harvest\Drush\Commands::register | ( | $harvest_plan | ) |
| Drupal\dkan_harvest\Drush\Commands::revert | ( | $id | ) |
Reverts harvest.
| string | $id | The source to revert. |
@command dkan-harvest:revert
@usage dkan-harvest:revert Removes harvested entities.
Definition at line 181 of file Commands.php.
| Drupal\dkan_harvest\Drush\Commands::run | ( | $id | ) |
Runs harvest.
| string | $id | The harvest id. |
@command dkan-harvest:run
@usage dkan-harvest:run Runs a harvest.
Definition at line 114 of file Commands.php.
| Drupal\dkan_harvest\Drush\Commands::runAll | ( | ) |
Runs all pending harvests.
@command dkan-harvest:run-all
@usage dkan-harvest:run-all Runs all pending harvests.
Definition at line 129 of file Commands.php.
|
protected |
Definition at line 23 of file Commands.php.
|
protected |
Definition at line 30 of file Commands.php.
|
protected |
Definition at line 37 of file Commands.php.