You are here

public function Redirect::getCreated in Redirect 8

Gets the redirect created datetime.

Return value

int The redirect created datetime.

File

src/Entity/Redirect.php, line 139

Class

Redirect
The redirect entity class.

Namespace

Drupal\redirect\Entity

Code

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