You are here

public function ItemInterface::setAuthor in Zircon Profile 8

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

Sets the author of the feed item.

Parameters

string $author: The author name of the feed item.

Return value

\Drupal\aggregator\ItemInterface The called feed item entity.

1 method overrides ItemInterface::setAuthor()
Item::setAuthor in core/modules/aggregator/src/Entity/Item.php
Sets the author of the feed item.

File

core/modules/aggregator/src/ItemInterface.php, line 91
Contains \Drupal\aggregator\ItemInterface.

Class

ItemInterface
Provides an interface defining an aggregator item entity.

Namespace

Drupal\aggregator

Code

public function setAuthor($author);