You are here

public function Unit::getCreatedTime in Booking and Availability Management Tools for Drupal 8

File

modules/bat_unit/src/Entity/Unit.php, line 80
Contains \Drupal\bat_unit\Entity\Unit.

Class

Unit
Defines the Unit entity.

Namespace

Drupal\bat_unit\Entity

Code

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