Acts on an entity before the presave hook is invoked.
Used before the entity is saved and before invoking the presave hook.
File
- drupal/core/lib/Drupal/Core/Config/Entity/ConfigStorageController.php, line 366
- Definition of Drupal\Core\Config\Entity\ConfigStorageController.
Class
- ConfigStorageController
- Defines the storage controller class for configuration entities.
Namespace
Drupal\Core\Config\Entity
Code
protected function preSave(EntityInterface $entity) {
}