public function DataPolicyInterface::setCreatedTime in Data Policy 8
Sets the Data policy creation timestamp.
Parameters
int $timestamp: The Data policy creation timestamp.
Return value
\Drupal\data_policy\Entity\DataPolicyInterface The called Data policy entity.
1 method overrides DataPolicyInterface::setCreatedTime()
- DataPolicy::setCreatedTime in src/
Entity/ DataPolicy.php - Sets the Data policy creation timestamp.
File
- src/
Entity/ DataPolicyInterface.php, line 53
Class
- DataPolicyInterface
- Provides an interface for defining Data policy entities.
Namespace
Drupal\data_policy\EntityCode
public function setCreatedTime($timestamp);