public function MerciLineItem::setCreatedTime in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2
Sets the Merci Line Item creation timestamp.
Parameters
int $timestamp: The Merci Line Item creation timestamp.
Return value
\Drupal\merci_line_item\Entity\MerciLineItemInterface The called Merci Line Item entity.
Overrides MerciLineItemInterface::setCreatedTime
File
- modules/
merci_line_item/ src/ Entity/ MerciLineItem.php, line 145
Class
- MerciLineItem
- Defines the Merci Line Item entity.
Namespace
Drupal\merci_line_item\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}