FeedStorageInterface.php

Same filename and directory in other branches
  1. 8.9.x core/modules/aggregator/src/FeedStorageInterface.php

Namespace

Drupal\aggregator

File

core/modules/aggregator/src/FeedStorageInterface.php

View source
<?php

namespace Drupal\aggregator;

use Drupal\Core\Entity\ContentEntityStorageInterface;

/**
 * Defines an interface for aggregator feed entity storage classes.
 */
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();

}

Interfaces

Title Deprecated Summary
FeedStorageInterface Defines an interface for aggregator feed entity storage classes.

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