You are here

public function UserInterface::getCreatedTime in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::getCreatedTime()
  2. 10 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();