You are here

public function Accepted::getCreatedTime in Legal 2.0.x

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

File

src/Entity/Accepted.php, line 50

Class

Accepted
Defines the Legal Terms & Conditions accepted entity.

Namespace

Drupal\legal\Entity

Code

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