You are here

public function ItemStorageInterface::getItemCount in Drupal 8

Same name and namespace in other branches
  1. 9 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
Returns the count of the items in a feed.

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);