You are here

public function Plan::getCreatedTime in farmOS 2.x

Gets the plan creation timestamp.

Return value

int Creation timestamp of the plan.

Overrides PlanInterface::getCreatedTime

File

modules/core/plan/src/Entity/Plan.php, line 119

Class

Plan
Defines the plan entity.

Namespace

Drupal\plan\Entity

Code

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