public function Profile::setCreatedTime in Profile 8
Sets the profile creation timestamp.
Parameters
int $timestamp: The profile creation timestamp.
Return value
$this
Overrides ProfileInterface::setCreatedTime
File
- src/
Entity/ Profile.php, line 180
Class
- Profile
- Defines the profile entity class.
Namespace
Drupal\profile\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}