public function EventType::useTimezones in Event 8
Determines whether to enable timezone support for an entity.
Return value
bool TRUE if the entity has custom timezones, or FALSE to use site timezone.
Overrides EventTypeInterface::useTimezones
File
- src/
Entity/ EventType.php, line 68
Class
- EventType
- Defines the Event type entity.
Namespace
Drupal\event\EntityCode
public function useTimezones() {
return $this->timezone;
}