public function SocialAuth::setChangedTime in Social Auth 8.2
Same name and namespace in other branches
- 3.x src/Entity/SocialAuth.php \Drupal\social_auth\Entity\SocialAuth::setChangedTime()
Updates the user data changed time field.
Parameters
int $timestamp: The social auth changed timestamp.
Return value
\Drupal\social_auth\Entity\SocialAuth Drupal Social Auth Entity.
File
- src/
Entity/ SocialAuth.php, line 113
Class
- SocialAuth
- Defines the Social Auth entity.
Namespace
Drupal\social_auth\EntityCode
public function setChangedTime($timestamp) {
$this
->set('changed', $timestamp);
return $this;
}