public static function BlazyInterface::buildIframe in Blazy 8.2
Modifies variables for iframes, those only handled by theme_blazy().
Prepares a media player, and allows a tiny video preview without iframe. image : If iframe switch disabled, fallback to iframe, remove image. player: If no colorbox/photobox, it is an image to iframe switcher. data- : Gets consistent with colorbox to share JS manipulation.
Parameters
array $variables: The variables being modified.
1 method overrides BlazyInterface::buildIframe()
- Blazy::buildIframe in src/
Blazy.php - Modifies variables for iframes, those only handled by theme_blazy().
File
- src/
BlazyInterface.php, line 93
Class
- BlazyInterface
- Provides common blazy utility static methods.
Namespace
Drupal\blazyCode
public static function buildIframe(array &$variables);