You are here

public function CslStyle::setUpdatedTime in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/CslStyle.php \Drupal\bibcite\Entity\CslStyle::setUpdatedTime()

Set a new updated time.

Parameters

int $timestamp: Timestamp of updated time.

Return value

$this

Overrides CslStyleInterface::setUpdatedTime

File

src/Entity/CslStyle.php, line 125

Class

CslStyle
Defines the CSL style entity.

Namespace

Drupal\bibcite\Entity

Code

public function setUpdatedTime($timestamp) {
  $this->updated = $timestamp;
  return $this;
}