public function Store::getTimezone in Commerce Core 8.2
Gets the store timezone.
Used when determining promotion and tax availability.
Return value
string The timezone.
Overrides StoreInterface::getTimezone
File
- modules/
store/ src/ Entity/ Store.php, line 150
Class
- Store
- Defines the store entity class.
Namespace
Drupal\commerce_store\EntityCode
public function getTimezone() {
return $this
->get('timezone')->value;
}