protected function ConfigStorageController::preSave

Acts on an entity before the presave hook is invoked.

Used before the entity is saved and before invoking the presave hook.

6 calls to ConfigStorageController::preSave()
ActionStorageController::preSave in drupal/core/modules/system/lib/Drupal/system/ActionStorageController.php
Acts on an entity before the presave hook is invoked.
BlockStorageController::preSave in drupal/core/modules/block/lib/Drupal/block/BlockStorageController.php
Acts on an entity before the presave hook is invoked.
ConfigStorageController::save in drupal/core/lib/Drupal/Core/Config/Entity/ConfigStorageController.php
Implements Drupal\Core\Entity\EntityStorageControllerInterface::save().
FilterFormatStorageController::preSave in drupal/core/modules/filter/lib/Drupal/filter/FilterFormatStorageController.php
Overrides \Drupal\Core\Config\Entity\ConfigStorageController::preSave().
RoleStorageController::preSave in drupal/core/modules/user/lib/Drupal/user/RoleStorageController.php
Acts on an entity before the presave hook is invoked.

... See full list

6 methods override ConfigStorageController::preSave()
ActionStorageController::preSave in drupal/core/modules/system/lib/Drupal/system/ActionStorageController.php
Acts on an entity before the presave hook is invoked.
BlockStorageController::preSave in drupal/core/modules/block/lib/Drupal/block/BlockStorageController.php
Acts on an entity before the presave hook is invoked.
EntityViewModeStorageController::preSave in drupal/core/modules/entity/lib/Drupal/entity/EntityViewModeStorageController.php
Acts on an entity before the presave hook is invoked.
FilterFormatStorageController::preSave in drupal/core/modules/filter/lib/Drupal/filter/FilterFormatStorageController.php
Overrides \Drupal\Core\Config\Entity\ConfigStorageController::preSave().
RoleStorageController::preSave in drupal/core/modules/user/lib/Drupal/user/RoleStorageController.php
Acts on an entity before the presave hook is invoked.

... See full list

File

drupal/core/lib/Drupal/Core/Config/Entity/ConfigStorageController.php, line 405
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) {
}