summaryrefslogtreecommitdiffstats
path: root/core/modules/responsive_image/lib/Drupal/responsive_image/ResponsiveImageMappingForm.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/responsive_image/lib/Drupal/responsive_image/ResponsiveImageMappingForm.php')
-rw-r--r--core/modules/responsive_image/lib/Drupal/responsive_image/ResponsiveImageMappingForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/responsive_image/lib/Drupal/responsive_image/ResponsiveImageMappingForm.php b/core/modules/responsive_image/lib/Drupal/responsive_image/ResponsiveImageMappingForm.php
index 1b4bb4a..ff62862 100644
--- a/core/modules/responsive_image/lib/Drupal/responsive_image/ResponsiveImageMappingForm.php
+++ b/core/modules/responsive_image/lib/Drupal/responsive_image/ResponsiveImageMappingForm.php
@@ -50,7 +50,7 @@ class ResponsiveImageMappingForm extends EntityForm {
'#type' => 'machine_name',
'#default_value' => $responsive_image_mapping->id(),
'#machine_name' => array(
- 'exists' => 'responsive_image_mapping_load',
+ 'exists' => '\Drupal\responsive_image\Entity\ResponsiveImageMapping::load',
'source' => array('label'),
),
'#disabled' => (bool) $responsive_image_mapping->id() && $this->operation != 'duplicate',