Voting starts in March for the Drupal Association Board election.
Field instances have no method to return the bundle the instance is attached to. EntityInterface::bundle() always returns 'field_instance' for field instances, as they have no bundles of their own. The 'bundle' property stores the information we need, but it should be a) a method on an interface and b) not so easy to confuse with EntityInterface::bundle().
Add a method to get the parent bundle, instead of resorting to direct property access (or extracting bundle name from the field instance ID with explode()).
User interface changes
Added method to access the parent bundle name.
Found this while working on.
|#14||field-instance-bundle-2134861-14.patch||2.4 KB||Gábor Hojtsy|
PASSED: [[SimpleTest]]: [MySQL] 59,338 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch field-instance-bundle-2134861-6.patch. Unable to apply patch. See the log in the details link for more information. View