public function FormAssemblyEntity::setModifiedTime in FormAssembly 8
Sets the FormAssembly Form modification timestamp.
Parameters
int $timestamp: The FormAssembly Form modification timestamp.
Return value
\Drupal\formassembly\Entity\FormAssemblyEntityInterface The called FormAssembly Form entity.
Overrides FormAssemblyEntityInterface::setModifiedTime
File
- src/
Entity/ FormAssemblyEntity.php, line 122
Class
- FormAssemblyEntity
- Defines the FormAssembly Form entity.
Namespace
Drupal\formassembly\EntityCode
public function setModifiedTime($timestamp) {
$this
->set('modified', $timestamp);
return $this;
}