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