public static function Framework::testCreateEntity in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::testCreateEntity()
- 3.x api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::testCreateEntity()
Tests self::createEntity().
File
- api/
src/ Framework/ Framework.php, line 454
Class
- Framework
- The entry point for the framework.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public static function testCreateEntity() {
$entity = self::instance()
->createEntity();
return !is_object($entity);
}