You are here

public function FeedsProcessor::expiryTime in Feeds 7.2

Same name and namespace in other branches
  1. 6 plugins/FeedsProcessor.inc \FeedsProcessor::expiryTime()
  2. 7 plugins/FeedsProcessor.inc \FeedsProcessor::expiryTime()

Returns the time in seconds after which items should be removed.

If expiry of items isn't supported, FEEDS_EXPIRE_NEVER is returned.

By default, expiring items isn't supported. Processors that want to support this feature, should override this method.

Return value

int The expiry time or FEEDS_EXPIRE_NEVER if expiry isn't supported.

1 call to FeedsProcessor::expiryTime()
FeedsProcessor::expire in plugins/FeedsProcessor.inc
Deletes feed items older than REQUEST_TIME - $time.
1 method overrides FeedsProcessor::expiryTime()
FeedsNodeProcessor::expiryTime in plugins/FeedsNodeProcessor.inc
Return expiry time.

File

plugins/FeedsProcessor.inc, line 974
Contains FeedsProcessor and related classes.

Class

FeedsProcessor
Abstract class, defines interface for processors.

Code

public function expiryTime() {
  return FEEDS_EXPIRE_NEVER;
}