summaryrefslogtreecommitdiffstats
path: root/core/modules/image/image.module
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/image/image.module')
-rw-r--r--core/modules/image/image.module12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/modules/image/image.module b/core/modules/image/image.module
index 9c9e82c..fc6f319 100644
--- a/core/modules/image/image.module
+++ b/core/modules/image/image.module
@@ -7,8 +7,6 @@
use Drupal\Core\Entity\EntityInterface;
use Drupal\Component\Plugin\Exception\PluginNotFoundException;
-use Drupal\field\Entity\FieldConfig;
-use Drupal\field\Entity\FieldInstanceConfig;
use Drupal\file\Entity\File;
use Drupal\field\FieldConfigInterface;
use Drupal\field\FieldInstanceConfigInterface;
@@ -246,16 +244,6 @@ function image_path_flush($path) {
}
/**
- * Loads an ImageStyle object.
- *
- * @param string $name
- * The ID of the ImageStyle object to load.
- */
-function image_style_load($name) {
- return entity_load('image_style', $name);
-}
-
-/**
* Gets an array of image styles suitable for using as select list options.
*
* @param $include_empty