You are here

public function FeedInterface::deleteItems in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/aggregator/src/FeedInterface.php \Drupal\aggregator\FeedInterface::deleteItems()

Deletes all items from a feed.

This will also reset the last checked and modified time of the feed and save it.

Return value

\Drupal\aggregator\FeedInterface The class instance that this method is called on.

See also

\Drupal\aggregator\ItemsImporterInterface::delete()

1 method overrides FeedInterface::deleteItems()
Feed::deleteItems in core/modules/aggregator/src/Entity/Feed.php
Deletes all items from a feed.

File

core/modules/aggregator/src/FeedInterface.php, line 230
Contains \Drupal\aggregator\FeedInterface.

Class

FeedInterface
Provides an interface defining an aggregator feed entity.

Namespace

Drupal\aggregator

Code

public function deleteItems();