interface FeedStorageInterface

Defines an interface for aggregator feed entity storage classes.

Hierarchy

Expanded class hierarchy of FeedStorageInterface

All classes that implement FeedStorageInterface

5 files declare their use of FeedStorageInterface
AggregatorFeedBlock.php in core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php
DefaultProcessor.php in core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
Feed.php in core/modules/aggregator/src/Entity/Feed.php
FeedParserTest.php in core/modules/aggregator/tests/src/Functional/FeedParserTest.php
OpmlFeedAdd.php in core/modules/aggregator/src/Form/OpmlFeedAdd.php

File

core/modules/aggregator/src/FeedStorageInterface.php, line 10

Namespace

Drupal\aggregator
View source
interface FeedStorageInterface extends ContentEntityStorageInterface {
  
  /**
   * Denotes that a feed's items should never expire.
   */
  const CLEAR_NEVER = 0;
  
  /**
   * Returns the fids of feeds that need to be refreshed.
   *
   * @return array
   *   A list of feed ids to be refreshed.
   */
  public function getFeedIdsToRefresh();

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.