public function LogInterface::setCreatedTime in Log entity 2.x
Sets the log creation timestamp.
Parameters
int $timestamp: Creation timestamp of the log.
Return value
\Drupal\log\Entity\LogInterface The log entity.
1 method overrides LogInterface::setCreatedTime()
- Log::setCreatedTime in src/
Entity/ Log.php - Sets the log creation timestamp.
File
- src/
Entity/ LogInterface.php, line 53
Class
- LogInterface
- Provides an interface for defining Log entities.
Namespace
Drupal\log\EntityCode
public function setCreatedTime($timestamp);