public function LatestActivity::setTimestamp in Opigno Learning path 8
Same name and namespace in other branches
- 3.x src/Entity/LatestActivity.php \Drupal\opigno_learning_path\Entity\LatestActivity::setTimestamp()
Sets the timestamp.
Parameters
int $value: The timestamp.
Return value
\Drupal\opigno_learning_path\LatestActivityInterface The called entity.
Overrides LatestActivityInterface::setTimestamp
File
- src/
Entity/ LatestActivity.php, line 152
Class
- LatestActivity
- Defines the Latest Activity entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function setTimestamp($value) {
$this
->set('timestamp', $value);
return $this;
}