public ItemInterface::setAuthor($author)
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.
File
- core/modules/aggregator/src/ItemInterface.php, line 86
Class
- ItemInterface
- Provides an interface defining an aggregator item entity.
Namespace
Drupal\aggregator
Code
public function setAuthor($author);
Please login to continue.