function image_style_load

Loads an ImageStyle object.

Parameters

string $name: The ID of the ImageStyle object to load.

1 call to image_style_load()
FileMoveTest::testNormal in drupal/core/modules/system/lib/Drupal/system/Tests/Image/FileMoveTest.php
Tests moving a randomly generated image.
2 string references to 'image_style_load'
image_style_add_form in drupal/core/modules/image/image.admin.inc
Form builder; Form for adding a new image style.
image_style_form in drupal/core/modules/image/image.admin.inc
Form builder; Edit an image style name and effects order.

File

drupal/core/modules/image/image.module, line 490
Exposes global functionality for creating image styles.

Code

function image_style_load($name) {
  return entity_load('image_style', $name);
}