You are here

public function RealEstate::setCreatedTime in Styled Google Map 8.2

Sets the Real estate creation timestamp.

Parameters

int $timestamp: The Real estate creation timestamp.

Return value

\Drupal\styled_google_map_demo\Entity\RealEstateInterface The called Real estate entity.

Overrides RealEstateInterface::setCreatedTime

File

modules/demo/src/Entity/RealEstate.php, line 149

Class

RealEstate
Defines the Real estate entity.

Namespace

Drupal\styled_google_map_demo\Entity

Code

public function setCreatedTime($timestamp) {
  $this
    ->set('created', $timestamp);
  return $this;
}