public function Framework::entityIsDummy 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::entityIsDummy()
- 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::entityIsDummy()
Checks whether an entity should be considered dummy content.
Overrides FrameworkInterface::entityIsDummy
1 call to Framework::entityIsDummy()
- Framework::testEntityIsDummy in api/
src/ Framework/ Framework.php - Tests self::entityIsDummy().
1 method overrides Framework::entityIsDummy()
- Drupal8::entityIsDummy in api/
src/ Framework/ Drupal8.php - Checks whether an entity should be considered dummy content.
File
- api/
src/ Framework/ Framework.php, line 109
Class
- Framework
- The entry point for the framework.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function entityIsDummy($entity, $type) {
$return = self::implementor()
->entityIsDummy($entity, $type);
return $return;
}