public function Registration::getCreatedTime in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/Registration.php \Drupal\rng\Entity\Registration::getCreatedTime()
- 3.x src/Entity/Registration.php \Drupal\rng\Entity\Registration::getCreatedTime()
Returns the registration creation timestamp.
Return value
int Creation timestamp of the registration.
Overrides RegistrationInterface::getCreatedTime
File
- src/
Entity/ Registration.php, line 94
Class
- Registration
- Defines the registration entity class.
Namespace
Drupal\rng\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}