You are here

public function Schedule::getCreatedTime in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Entity/Schedule.php \Drupal\business_rules\Entity\Schedule::getCreatedTime()

Gets the Schedule creation timestamp.

Return value

int Creation timestamp of the Schedule.

Overrides ScheduleInterface::getCreatedTime

File

src/Entity/Schedule.php, line 159

Class

Schedule
Defines the Schedule entity.

Namespace

Drupal\business_rules\Entity

Code

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