function image_entity_view_display_presave
Implements hook_ENTITY_TYPE_presave() for entity_view_display.
File
-
core/
modules/ image/ image.module, line 376
Code
function image_entity_view_display_presave(EntityViewDisplayInterface $view_display) : void {
$config_updater = \Drupal::classResolver(ImageConfigUpdater::class);
assert($config_updater instanceof ImageConfigUpdater);
$config_updater->processImageLazyLoad($view_display);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.