You are here

public function SimpleMegaMenu::getCreatedTime in Simple Mega Menu 8

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

Gets the Simple mega menu creation timestamp.

Return value

int Creation timestamp of the Simple mega menu.

Overrides SimpleMegaMenuInterface::getCreatedTime

File

src/Entity/SimpleMegaMenu.php, line 140

Class

SimpleMegaMenu
Defines the Simple mega menu entity.

Namespace

Drupal\simple_megamenu\Entity

Code

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