You are here

abstract public function MediaFeedsProvider::save in Media Feeds 7

Same name and namespace in other branches
  1. 7.2 includes/MediaFeedsProvider.inc \MediaFeedsProvider::save()

Save the file in the database.

Return value

The file object as it has been saved or FALSE on failure.

3 methods override MediaFeedsProvider::save()
MediaFeedsInternetProvider::save in includes/MediaFeedsInternetProvider.inc
Let the provider save the file. Since providers don't use the workaround at MediaFeedsProviderWrapper::getFileObject() internally, hook into that process using hook_file_presave().
MediaFeedsLibraryProvider::save in includes/MediaFeedsLibraryProvider.inc
Save the file in the database.
MediaFeedsRemoteProvider::save in includes/MediaFeedsRemoteProvider.inc
Save the file or return an existing one.

File

includes/MediaFeedsProvider.inc, line 76
The MediaFeedsProvider base class.

Class

MediaFeedsProvider
Base class for different Media Feeds providers.

Code

public abstract function save();