Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
image.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Apr 2014 at 07:15 UTC
Updated:
21 Sep 2015 at 11:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berdirComment #5
mbovan commentedRerolled and adapted to the latest core.
Comment #7
berdirWhat you can do is $entity->getFieldDefinition()->getFieldStorageDefinition()
Comment #8
mbovan commentedChanged to
$entity->getFieldDefinition('image_test')->getFieldStorageDefinition()->getPropertyDefinitions().Comment #10
LKS90 commentedTest works, the image formatter only has the requested fields now, looks good to go.
Comment #11
alexpottI've confirmed this does not affect an image fields schema and therefore no upgrade path is required. This issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed e12fd0d and pushed to 8.0.x. Thanks!