function ResponsiveImageStyle::preSave
Overrides ConfigEntityBase::preSave
File
-
core/
modules/ responsive_image/ src/ Entity/ ResponsiveImageStyle.php, line 118
Class
- ResponsiveImageStyle
- Defines the responsive image style entity.
Namespace
Drupal\responsive_image\EntityCode
public function preSave(EntityStorageInterface $storage) {
parent::preSave($storage);
$config_updater = \Drupal::classResolver(ResponsiveImageConfigUpdater::class);
$config_updater->orderMultipliersNumerically($this);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.