You are here

public function Framework::hookEntityPresave in Realistic Dummy Content 7.2

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

File

api/src/Framework/Framework.php, line 226

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function hookEntityPresave($entity, $type) {
  $return = self::implementor()
    ->hookEntityPresave($entity, $type);
  static::addTestFlag('hookEntityPresave called');
  return $return;
}