return $view_config_updater->
needsResponsiveImageLazyLoadFieldUpdate($view);
});
}/**
* Update timestamp formatter settings for views.
*/
function views_post_update_timestamp_formatter(array &
$sandbox = NULL
): void
{ /** @var \Drupal\views\ViewsConfigUpdater $view_config_updater */
$view_config_updater = \Drupal::
classResolver(ViewsConfigUpdater::
class);
\Drupal::
classResolver(ConfigEntityUpdater::
class)->
update($sandbox, 'view',
function DViewEntityInterface
$view) use ($view_config_updater): bool
{ return $view_config_updater->
needsTimestampFormatterTimeDiffUpdate($view);
});
}/**
* Fix '-revision_id' replacement token syntax.
*/
function views_post_update_fix_revision_id_part(&
$sandbox = NULL
): void
{ /** @var \Drupal\views\ViewsConfigUpdater $view_config_updater */
$view_config_updater = \Drupal::
classResolver(ViewsConfigUpdater::
class);
$view_config_updater->
setDeprecationsEnabled(FALSE
);
\Drupal::
classResolver(ConfigEntityUpdater::
class)