public function RealisticDummyContentAttribute::env in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::env()
- 3.x api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::env()
Returns the appropriate environment, real or testing.
File
- api/
src/ includes/ RealisticDummyContentAttribute.php, line 78
Class
- RealisticDummyContentAttribute
- Represents either a field or a property for an entity.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public function env() {
return $this
->getEntity()
->env();
}