The Business Hours module adds a utility page for configuring business hours and exposes methods for checking the current business hours status
Table of Contents |
---|
Dependencies
The Business Hours module is dependent on the following modules:
Methods
getCurrent
Gets the current business hours configuration, populated with defaults if nothing is currently configured.
...
Returns: The current business hours configuration, including the current configured timezone.
isDuring
Using the current time, checks whether or not we are currently inside of business hours based on the current configuration.
...
Returns: True if we are currently in business hours, false if outside of them.
Configuration Page
...
The utility page allows for the configuration of the open/closed status for each day of the week, as well as the opening and closing hours for days when the business is open.
...