You are here

public function Conditions::getCreatedTime in Legal 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Conditions.php \Drupal\legal\Entity\Conditions::getCreatedTime()

File

src/Entity/Conditions.php, line 50

Class

Conditions
Defines the Legal Terms & Conditions entity.

Namespace

Drupal\legal\Entity

Code

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