public function ReadingTime::getReadingTime in Node read time 8
Gets the reading time value.
Return value
int|null Returns the reading time value.
File
- src/
Calculate/ ReadingTime.php, line 103
Class
- ReadingTime
- Calculates the reading time of a node.
Namespace
Drupal\node_read_time\CalculateCode
public function getReadingTime() {
return $this->readingTime;
}