You are here

function ais_is_adaptive_style in Adaptive Image Styles (ais) 7

Checks if the given image styles is set to be adaptive

Parameters

string $image_style: Machine name of an image style

Return value

boolean Returns TRUE if the image style is adaptive, FALSE otherwise.

1 call to ais_is_adaptive_style()
ais_preprocess_image in ./ais.module
Implements template_preprocess_image().

File

./ais.module, line 250
Adaptive Image Styles Module

Code

function ais_is_adaptive_style($image_style) {
  return $image_style == AIS_ADAPTIVE_STYLE;
}