function drush_image_style_load

8.0.x image.inc drush_image_style_load($style_name)
8.0.x image_7.inc drush_image_style_load($style_name)
7.x image.inc drush_image_style_load($style_name)
7.x image_7.inc drush_image_style_load($style_name)
master image.inc drush_image_style_load($style_name)
master image_7.inc drush_image_style_load($style_name)
4 calls to drush_image_style_load()

File

commands/core/drupal/image.inc, line 17
Specific functions for a Drupal image handling. drush_include_engine() magically includes either this file or image_X.inc depending on which version of Drupal is in use.

Code

function drush_image_style_load($style_name) {
  return \Drupal::entityManager()->getStorage('image_style')->load($style_name);
}