Skip to content

Drupal Display Mode-powered Entity, Form and Field Druxt components.

DruxtFieldImage

View source on GitHub

DruxtFieldImage

Deprecated in druxt-entity:0.16.0, removed from druxt-entity:2.0.0. Use a field wrapper component resolved by the component suggestion system instead.

Renders an image field's items as HTML image elements.

See: /modules/entity/deprecations


.data()

Provides the fetched file resources for rendering.

Kind: static method of DruxtFieldImage
Properties

NameTypeDescription
entitiesArray.<object>The File JSON:API resources referenced by the field items.