public static function Framework::testHookEntityPresave in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::testHookEntityPresave()
- 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::testHookEntityPresave()
Test self::hookEntityPresave().
File
- api/
src/ Framework/ Framework.php, line 480
Class
- Framework
- The entry point for the framework.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public static function testHookEntityPresave() {
self::instance()
->createEntity();
return !static::getTestFlag('hookEntityPresave called');
}