You are here

public function FrameworkInterface::hookEntityPresave in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::hookEntityPresave()
  2. 7.2 api/src/Framework/FrameworkInterface.php \Drupal\realistic_dummy_content_api\Framework\FrameworkInterface::hookEntityPresave()

React to an entity just before it is saved.

1 method overrides FrameworkInterface::hookEntityPresave()
Framework::hookEntityPresave in api/src/Framework/Framework.php
React to an entity just before it is saved.

File

api/src/Framework/FrameworkInterface.php, line 154

Class

FrameworkInterface
Defines and abstracts all functions which are used by our module.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function hookEntityPresave($entity);