You are here

public function RoleWatchdog::getCreatedTime in Role Watchdog 8

Gets the Role Watchdog creation timestamp.

Return value

int Creation timestamp of the Role Watchdog.

Overrides RoleWatchdogInterface::getCreatedTime

File

src/Entity/RoleWatchdog.php, line 94

Class

RoleWatchdog
Defines the Role Watchdog entity.

Namespace

Drupal\role_watchdog\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}