Allow multiple bundles to be specified

Created on 1 October 2024, 7 months ago

Problem/Motivation

It's not possible to use BCA to define a single class for multiple bundles of an entity.

Proposed resolution

Change the signature of \Drupal\bca\Attribute\Bundle::$bundle from ?string to ?string|array.

API changes

Since the allowed type of \Drupal\bca\Attribute\Bundle::$bundle is widening, there are no breaking changes.

✨ Feature request
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States benabaird

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