public function ReviewEntity::setTitle in Reviews 1.0.x
Sets the review Title.
Parameters
string $title: The review Title.
Return value
\Drupal\reviews\Entity\ReviewEntityInterface The called review entity Title.
Overrides ReviewEntityInterface::setTitle
File
- src/
Entity/ ReviewEntity.php, line 84
Class
- ReviewEntity
- Defines the Review entity.
Namespace
Drupal\reviews\EntityCode
public function setTitle($title) {
$this
->set('title', $title);
return $this;
}