interface ItemInterface
Same name in other branches
- 9 core/modules/aggregator/src/ItemInterface.php \Drupal\aggregator\ItemInterface
Provides an interface defining an aggregator item entity.
Hierarchy
- interface \Drupal\Core\Entity\FieldableEntityInterface extends \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Entity\SynchronizableInterface extends \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Entity\TranslatableRevisionableInterface extends \Drupal\Core\Entity\TranslatableInterface \Drupal\Core\Entity\RevisionableInterface
- interface \Drupal\Core\Entity\ContentEntityInterface extends \Drupal\Core\Entity\Traversable \Drupal\Core\Entity\FieldableEntityInterface \Drupal\Core\Entity\TranslatableRevisionableInterface \Drupal\Core\Entity\SynchronizableInterface
- interface \Drupal\aggregator\ItemInterface extends \Drupal\Core\Entity\ContentEntityInterface
- interface \Drupal\Core\Entity\ContentEntityInterface extends \Drupal\Core\Entity\Traversable \Drupal\Core\Entity\FieldableEntityInterface \Drupal\Core\Entity\TranslatableRevisionableInterface \Drupal\Core\Entity\SynchronizableInterface
Expanded class hierarchy of ItemInterface
All classes that implement ItemInterface
File
-
core/
modules/ aggregator/ src/ ItemInterface.php, line 10
Namespace
Drupal\aggregatorView source
interface ItemInterface extends ContentEntityInterface {
/**
* Returns the feed id of aggregator item.
*
* @return int
* The feed id.
*/
public function getFeedId();
/**
* Sets the feed id of aggregator item.
*
* @param int $fid
* The feed id.
*
* @return $this
* The called feed item entity.
*/
public function setFeedId($fid);
/**
* Returns the title of the feed item.
*
* @return string
* The title of the feed item.
*/
public function getTitle();
/**
* Sets the title of the feed item.
*
* @param string $title
* The title of the feed item.
*
* @return $this
* The called feed item entity.
*/
public function setTitle($title);
/**
* Returns the link to the feed item.
*
* @return string
* The link to the feed item.
*/
public function getLink();
/**
* Sets the link to the feed item.
*
* @param string $link
* The link to the feed item.
*
* @return $this
* The called feed item entity.
*/
public function setLink($link);
/**
* Returns the author of the feed item.
*
* @return string
* The author of the feed item.
*/
public function getAuthor();
/**
* Sets the author of the feed item.
*
* @param string $author
* The author name of the feed item.
*
* @return $this
* The called feed item entity.
*/
public function setAuthor($author);
/**
* Returns the body of the feed item.
*
* @return string
* The body of the feed item.
*/
public function getDescription();
/**
* Sets the body of the feed item.
*
* @param string $description
* The body of the feed item.
*
* @return $this
* The called feed item entity.
*/
public function setDescription($description);
/**
* Returns the posted date of the feed item, as a Unix timestamp.
*
* @return int
* The posted date of the feed item, as a Unix timestamp.
*/
public function getPostedTime();
/**
* Sets the posted date of the feed item, as a Unix timestamp.
*
* @param int $timestamp
* The posted date of the feed item, as a Unix timestamp.
*
* @return $this
* The called feed item entity.
*/
public function setPostedTime($timestamp);
/**
* Returns the unique identifier for the feed item.
*
* @return string
* The unique identifier for the feed item.
*/
public function getGuid();
/**
* Sets the unique identifier for the feed item.
*
* @param string $guid
* The unique identifier for the feed item.
*
* @return $this
* The called feed item entity.
*/
public function setGuid($guid);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ItemInterface::getAuthor | public | function | Returns the author of the feed item. | 1 |
ItemInterface::getDescription | public | function | Returns the body of the feed item. | 1 |
ItemInterface::getFeedId | public | function | Returns the feed id of aggregator item. | 1 |
ItemInterface::getGuid | public | function | Returns the unique identifier for the feed item. | 1 |
ItemInterface::getLink | public | function | Returns the link to the feed item. | 1 |
ItemInterface::getPostedTime | public | function | Returns the posted date of the feed item, as a Unix timestamp. | 1 |
ItemInterface::getTitle | public | function | Returns the title of the feed item. | 1 |
ItemInterface::setAuthor | public | function | Sets the author of the feed item. | 1 |
ItemInterface::setDescription | public | function | Sets the body of the feed item. | 1 |
ItemInterface::setFeedId | public | function | Sets the feed id of aggregator item. | 1 |
ItemInterface::setGuid | public | function | Sets the unique identifier for the feed item. | 1 |
ItemInterface::setLink | public | function | Sets the link to the feed item. | 1 |
ItemInterface::setPostedTime | public | function | Sets the posted date of the feed item, as a Unix timestamp. | 1 |
ItemInterface::setTitle | public | function | Sets the title of the feed item. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.