You are here

public static function ResourceFieldEntityInterface::getImageUris in RESTful 7.2

Get the image URLs based on the configured image styles.

Parameters

array $file_array: The file array.

array $image_styles: The list of image styles to use.

Return value

array The input file array with an extra key for the image styles.

1 method overrides ResourceFieldEntityInterface::getImageUris()
ResourceFieldEntity::getImageUris in src/Plugin/resource/Field/ResourceFieldEntity.php
Get the image URLs based on the configured image styles.

File

src/Plugin/resource/Field/ResourceFieldEntityInterface.php, line 110
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntityInterface.

Class

ResourceFieldEntityInterface

Namespace

Drupal\restful\Plugin\resource\Field

Code

public static function getImageUris(array $file_array, $image_styles);