You are here

public function SiteSettingEntity::getCreatedTime in Site Settings and Labels 8

Gets the Site Setting creation timestamp.

Return value

int Creation timestamp of the Site Setting.

Overrides SiteSettingEntityInterface::getCreatedTime

File

src/Entity/SiteSettingEntity.php, line 126

Class

SiteSettingEntity
Defines the Site Setting entity.

Namespace

Drupal\site_settings\Entity

Code

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