function ItemStorageInterface::getItemCount

Same name in other branches
  1. 8.9.x core/modules/aggregator/src/ItemStorageInterface.php \Drupal\aggregator\ItemStorageInterface::getItemCount()

Returns the count of the items in a feed.

Parameters

\Drupal\aggregator\FeedInterface $feed: The feed entity.

Return value

int The count of items associated with a feed.

1 method overrides ItemStorageInterface::getItemCount()
ItemStorage::getItemCount in core/modules/aggregator/src/ItemStorage.php

File

core/modules/aggregator/src/ItemStorageInterface.php, line 21

Class

ItemStorageInterface
Defines an interface for aggregator item entity storage classes.

Namespace

Drupal\aggregator

Code

public function getItemCount(FeedInterface $feed);

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