function UserInterface::getCreatedTime

Same name in other branches
  1. 8.9.x core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::getCreatedTime()
  2. 10 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::getCreatedTime()
  3. 11.x core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::getCreatedTime()

Returns the creation time of the user as a UNIX timestamp.

Return value

int Timestamp of the creation date.

1 method overrides UserInterface::getCreatedTime()
User::getCreatedTime in core/modules/user/src/Entity/User.php
Returns the creation time of the user as a UNIX timestamp.

File

core/modules/user/src/UserInterface.php, line 127

Class

UserInterface
Provides an interface defining a user entity.

Namespace

Drupal\user

Code

public function getCreatedTime();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.