public function Drupal7::testHookUserPresave in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/Framework/Drupal7.php \Drupal\realistic_dummy_content_api\Framework\Drupal7::testHookUserPresave()
Tests $this->hookUserPresave().
File
- api/
src/ Framework/ Drupal7.php, line 428
Class
- Drupal7
- Drupal 7-specific code.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function testHookUserPresave() {
self::clearTestFlag('hookUserPresave called');
$this
->createEntity(array(
'entity_type' => 'user',
));
return !static::getTestFlag('hookUserPresave called');
}