You are here

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\Entity

Code

public function useTimezones() {
  return $this->timezone;
}