public function ReadingTime::setReadingTime in Node read time 8
Sets the reading time value.
@
Parameters
int: Sets the reading time value.
File
- src/
Calculate/ ReadingTime.php, line 113
Class
- ReadingTime
- Calculates the reading time of a node.
Namespace
Drupal\node_read_time\CalculateCode
public function setReadingTime($readingTime) {
$this->readingTime = $readingTime;
}