public function FeedsImporter::delete in Feeds 8.2
Deletes configuration.
Removes configuration information from database, does not delete configuration itself.
File
- lib/
Drupal/ feeds/ FeedsImporter.php, line 111 - FeedsImporter class and related.
Class
- FeedsImporter
- A FeedsImporter object describes how an external source should be fetched, parsed and processed. Feeds can manage an arbitrary amount of importers.
Namespace
Drupal\feedsCode
public function delete() {
db_delete('feeds_importer')
->condition('id', $this->id)
->execute();
feeds_reschedule($this->id);
}