You are here

public static function BlazyMediaInterface::wrap in Blazy 8.2

Returns a field item/ content to be wrapped by theme_blazy().

@todo make it non-static method.

Parameters

array $field: The source renderable array $field.

Return value

array The renderable array of the media item to be wrapped by theme_blazy().

1 method overrides BlazyMediaInterface::wrap()
BlazyMedia::wrap in src/BlazyMedia.php
Returns a field item/ content to be wrapped by theme_blazy().

File

src/BlazyMediaInterface.php, line 48

Class

BlazyMediaInterface
Provides extra utilities to work with core Media.

Namespace

Drupal\blazy

Code

public static function wrap(array $field = []);