You are here

Classes, traits, and interfaces in Office Hours 8

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
CSVOfficeHoursField class Drupal\office_hours\Plugin\migrate\process src/Plugin/migrate/process/CSVOfficeHoursField.php Processes a input array of office hours to the correct format for the field.
OfficeHours class Drupal\office_hours\Feeds\Target src/Feeds/Target/OfficeHours.php Defines a office_hours field mapper.
OfficeHoursDateHelper class Drupal\office_hours src/OfficeHoursDateHelper.php Defines lots of helpful functions for use in massaging dates. 9
OfficeHoursDatelist class Drupal\office_hours\Element src/Element/OfficeHoursDatelist.php Provides a one-line text field form element.
OfficeHoursDatetime class Drupal\office_hours\Element src/Element/OfficeHoursDatetime.php Provides a one-line HTML5 time element. 5
OfficeHoursDatetimeUnitTest class Drupal\Tests\office_hours\Unit tests/src/Unit/OfficeHoursDatetimeUnitTest.php Tests the new entity API for the office_hours field type.
OfficeHoursDefaultWidget class Drupal\office_hours\Plugin\Field\FieldWidget src/Plugin/Field/FieldWidget/OfficeHoursDefaultWidget.php Plugin implementation of the 'office_hours_default' widget.
OfficeHoursField class Drupal\office_hours\Plugin\migrate\process src/Plugin/migrate/process/OfficeHoursField.php Maps D7 office_hours_hours values to office_hours_values values. 1
OfficeHoursField class Drupal\office_hours\Plugin\migrate\field src/Plugin/migrate/field/OfficeHoursField.php Plugin annotation @MigrateCckField( id = "office_hours_field", core = {7}, source_module = "office_hours", destination_module = "office_hours", type_map = { "office_hours" = "office_hours" } )
OfficeHoursFieldDiffBuilder class Drupal\office_hours\Plugin\diff\Field src/Plugin/diff/Field/OfficeHoursFieldDiffBuilder.php Plugin to diff office hours fields.
OfficeHoursFormatterBase abstract class Drupal\office_hours\Plugin\Field\FieldFormatter src/Plugin/Field/FieldFormatter/OfficeHoursFormatterBase.php Abstract plugin implementation of the formatter. 4
OfficeHoursFormatterDefault class Drupal\office_hours\Plugin\Field\FieldFormatter src/Plugin/Field/FieldFormatter/OfficeHoursFormatterDefault.php Plugin implementation of the formatter.
OfficeHoursFormatterSchema class Drupal\office_hours\Plugin\Field\FieldFormatter src/Plugin/Field/FieldFormatter/OfficeHoursFormatterSchema.php Plugin implementation of the formatter, from https://schema.org/openingHours.
OfficeHoursFormatterStatus class Drupal\office_hours\Plugin\Field\FieldFormatter src/Plugin/Field/FieldFormatter/OfficeHoursFormatterStatus.php Plugin implementation of the formatter.
OfficeHoursFormatterTable class Drupal\office_hours\Plugin\Field\FieldFormatter src/Plugin/Field/FieldFormatter/OfficeHoursFormatterTable.php Plugin implementation of the formatter.
OfficeHoursFormatterTrait trait Drupal\office_hours src/OfficeHoursFormatterTrait.php Factors out OfficeHoursItemList->getItems()->getRows(). 2
OfficeHoursItem class Drupal\office_hours\Plugin\Field\FieldType src/Plugin/Field/FieldType/OfficeHoursItem.php Plugin implementation of the 'office_hours' field type.
OfficeHoursItemList class Drupal\office_hours\Plugin\Field\FieldType src/Plugin/Field/FieldType/OfficeHoursItemList.php Represents an Office hours field. 1
OfficeHoursItemListInterface interface Drupal\office_hours\Plugin\Field\FieldType src/Plugin/Field/FieldType/OfficeHoursItemListInterface.php Implements ItemListInterface for OfficeHours. 1 1
OfficeHoursItemTest class Drupal\Tests\office_hours\Kernel tests/src/Kernel/OfficeHoursItemTest.php Class that tests OfficeHoursField.
OfficeHoursList class Drupal\office_hours\Element src/Element/OfficeHoursList.php Provides a one-line text field form element for the List Widget. 1
OfficeHoursListWidget class Drupal\office_hours\Plugin\Field\FieldWidget src/Plugin/Field/FieldWidget/OfficeHoursListWidget.php Plugin implementation of the 'office_hours_week' widget.
OfficeHoursSlot class Drupal\office_hours\Element src/Element/OfficeHoursSlot.php Provides a one-line text field form element for the Week Widget.
OfficeHoursTable class Drupal\office_hours\Element src/Element/OfficeHoursTable.php Provides a render element for a table.
OfficeHoursWidgetBase abstract class Drupal\office_hours\Plugin\Field\FieldWidget src/Plugin/Field/FieldWidget/OfficeHoursWidgetBase.php Base class for the 'office_hours_*' widgets. 2

Other projects