Skip to content

Extension points

phil/opening-hours-bundle

What an application configures, extends or overrides. The hours are phil/opening-hours's.

Configuration

OptionWhat it extends
default_timezoneThe time zone of new hours — see Installation

Forms

PointHow
The time zone of one fieldThe timezone option of OpeningHoursType, and with_timezone to let people choose it
The language of the daysIts locale option
More than the form doesA form type extension of the application's on OpeningHoursType

See Forms.

Storage and Twig

PointHow
Where hours are keptThe phil_opening_hours column type, JSON through OpeningHoursArray — see Doctrine
Open now, next opening, the weekopening_hours_open, opening_hours_next, opening_hours_week, opening_hours_specials and opening_hours_schema — see Twig
The table of hours@PhilOpeningHours/table.html.twig, overridden in templates/bundles/PhilOpeningHoursBundle/table.html.twig as any bundle template, or replaced by a layout of the application's over opening_hours_week