public function Mock::entityIsDummy in Realistic Dummy Content 7.2
Same name and namespace in other branches
- 8.2 api/src/Framework/Mock.php \Drupal\realistic_dummy_content_api\Framework\Mock::entityIsDummy()
File
- api/
src/ Framework/ Mock.php, line 50
Class
- Mock
- Represents a mock framework (experimental).
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function entityIsDummy($entity, $type) {
$return = isset($entity->devel_generate);
return $return;
}