public function Registration::getCreatedTime in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/Entity/Registration.php \Drupal\rng\Entity\Registration::getCreatedTime()
- 8 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 121
Class
- Registration
- Defines the registration entity class.
Namespace
Drupal\rng\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}