You are here

public function FeedsFileBatch::getFilePath in Feeds 7

Same name and namespace in other branches
  1. 6 plugins/FeedsFileFetcher.inc \FeedsFileBatch::getFilePath()

Implements FeedsImportBatch::getFilePath().

Overrides FeedsImportBatch::getFilePath

File

plugins/FeedsFileFetcher.inc, line 31
Home of the FeedsFileFetcher and related classes.

Class

FeedsFileBatch
Definition of the import batch object created on the fetching stage by FeedsFileFetcher.

Code

public function getFilePath() {
  if (!file_exists($this->file_path)) {
    throw new Exception(t('File @filepath is not accessible.', array(
      '@filepath' => $this->file_path,
    )));
  }
  return $this->file_path;
}