Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to use Office hour field widget with custom form?
Is there a way to use Office hour field widget with custom form?
Comments
Comment #1
johnvOffice_hours adheres to the Form API and Field API, so this should be no problem.
Please explore office_hours_field_settings_form() and office_hours_field_widget_form().