CSVOfficeHoursField.php |
src/Plugin/migrate/process/CSVOfficeHoursField.php |
Drupal\office_hours\Plugin\migrate\process |
|
office-hours-status.html.twig |
templates/office-hours-status.html.twig |
|
<div class="office-hours-status office-hours-status--{% if is_open %}open{% else %}closed{% endif %}">
{% if is_open %}
{{ open_text }}
{% else %}
{{ closed_text }}
{% endif %}
</div> |
office-hours-table.html.twig |
templates/office-hours-table.html.twig |
|
<div class="office-hours">
{{ table }}
{% if schema %}
<div class="office-hours-schema">
{{ schema }}
</div>
{% endif %}
</div> |
office-hours.html.twig |
templates/office-hours.html.twig |
|
<div class="office-hours">
{% for item in items %}
<div class="office-hours__item">
{% if item.label %}
<span class="office-hours__item-label" style="width: {{ label_length * 0.60… |
OfficeHours.php |
src/Feeds/Target/OfficeHours.php |
Drupal\office_hours\Feeds\Target |
|
OfficeHoursDateHelper.php |
src/OfficeHoursDateHelper.php |
Drupal\office_hours |
|
OfficeHoursDatelist.php |
src/Element/OfficeHoursDatelist.php |
Drupal\office_hours\Element |
|
OfficeHoursDatetime.php |
src/Element/OfficeHoursDatetime.php |
Drupal\office_hours\Element |
|
OfficeHoursDatetimeUnitTest.php |
tests/src/Unit/OfficeHoursDatetimeUnitTest.php |
Drupal\Tests\office_hours\Unit |
|
OfficeHoursDefaultWidget.php |
src/Plugin/Field/FieldWidget/OfficeHoursDefaultWidget.php |
Drupal\office_hours\Plugin\Field\FieldWidget |
|
OfficeHoursField.php |
src/Plugin/migrate/process/OfficeHoursField.php |
Drupal\office_hours\Plugin\migrate\process |
|
OfficeHoursField.php |
src/Plugin/migrate/field/OfficeHoursField.php |
Drupal\office_hours\Plugin\migrate\field |
|
OfficeHoursFieldDiffBuilder.php |
src/Plugin/diff/Field/OfficeHoursFieldDiffBuilder.php |
Drupal\office_hours\Plugin\diff\Field |
|
OfficeHoursFormatterBase.php |
src/Plugin/Field/FieldFormatter/OfficeHoursFormatterBase.php |
Drupal\office_hours\Plugin\Field\FieldFormatter |
|
OfficeHoursFormatterDefault.php |
src/Plugin/Field/FieldFormatter/OfficeHoursFormatterDefault.php |
Drupal\office_hours\Plugin\Field\FieldFormatter |
|
OfficeHoursFormatterSchema.php |
src/Plugin/Field/FieldFormatter/OfficeHoursFormatterSchema.php |
Drupal\office_hours\Plugin\Field\FieldFormatter |
|
OfficeHoursFormatterStatus.php |
src/Plugin/Field/FieldFormatter/OfficeHoursFormatterStatus.php |
Drupal\office_hours\Plugin\Field\FieldFormatter |
|
OfficeHoursFormatterTable.php |
src/Plugin/Field/FieldFormatter/OfficeHoursFormatterTable.php |
Drupal\office_hours\Plugin\Field\FieldFormatter |
|
OfficeHoursFormatterTrait.php |
src/OfficeHoursFormatterTrait.php |
Drupal\office_hours |
|
OfficeHoursItem.php |
src/Plugin/Field/FieldType/OfficeHoursItem.php |
Drupal\office_hours\Plugin\Field\FieldType |
|
OfficeHoursItemList.php |
src/Plugin/Field/FieldType/OfficeHoursItemList.php |
Drupal\office_hours\Plugin\Field\FieldType |
|
OfficeHoursItemListInterface.php |
src/Plugin/Field/FieldType/OfficeHoursItemListInterface.php |
Drupal\office_hours\Plugin\Field\FieldType |
|
OfficeHoursItemTest.php |
tests/src/Kernel/OfficeHoursItemTest.php |
Drupal\Tests\office_hours\Kernel |
|
OfficeHoursList.php |
src/Element/OfficeHoursList.php |
Drupal\office_hours\Element |
|
OfficeHoursListWidget.php |
src/Plugin/Field/FieldWidget/OfficeHoursListWidget.php |
Drupal\office_hours\Plugin\Field\FieldWidget |
|
OfficeHoursSlot.php |
src/Element/OfficeHoursSlot.php |
Drupal\office_hours\Element |
|
OfficeHoursTable.php |
src/Element/OfficeHoursTable.php |
Drupal\office_hours\Element |
|
OfficeHoursWidgetBase.php |
src/Plugin/Field/FieldWidget/OfficeHoursWidgetBase.php |
Drupal\office_hours\Plugin\Field\FieldWidget |
|
office_hours.css |
css/office_hours.css |
|
@charset "UTF-8";
/*
* Widget settings
*/
.field--type-office-hours {
white-space: normal;
}
/* Format the 'day' column. */
.office-hours-label {
font-weight: bold;
text-align: left;
}
/* Format the 'day' column… |
office_hours.info.yml |
office_hours.info.yml |
|
office_hours.info.yml |
office_hours.install |
office_hours.install |
|
Install, update and uninstall functions for the Office hours module. |
office_hours.libraries.yml |
office_hours.libraries.yml |
|
office_hours.libraries.yml |
office_hours.module |
office_hours.module |
|
Creates a field and widget for inserting working or office hours per day. |
office_hours.post_update.php |
office_hours.post_update.php |
|
Post update functions for Office Hours. |
office_hours.schema.yml |
config/schema/office_hours.schema.yml |
|
config/schema/office_hours.schema.yml |
office_hours.tokens.inc |
office_hours.tokens.inc |
|
Provides tokens for the office_hours module. |
office_hours.views.inc |
office_hours.views.inc |
|
Provide Views data and handlers for office_hours.module. |
README.txt |
README.txt |
|
Office Hours creates a Field, that you can add to any entity (like a location,
a restaurant or a user) to represent "office hours" or "opening hours".
== GENERAL FEATURES ==
The widget provides:
- default weekly office hours… |