Allow Branch Hours block to be used by other content types

Created on 26 March 2024, 8 months ago
Updated 9 April 2024, 8 months ago

Problem/Motivation

When Y's need an additional content type that's essentially a clone of Branch, such as Child Care, the Branch Hours block should be able to be used there with little to no modification.

Steps to reproduce

- Clone the Branch Content Type
- Try to create a new node with the cloned content type
- Observe the Branch Hours Block does not display.

Proposed resolution

Modify the $node->bundle() === 'branch' check to allow for any node that has the field_branch_hours field.

✨ Feature request
Status

Fixed

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States froboy Chicago, IL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024