You are here

FeedStorageInterface.php in Drupal 9

Same filename and directory in other branches
  1. 8 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

Namesort descending Description
FeedStorageInterface Defines an interface for aggregator feed entity storage classes.