public function Mock::alter 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::alter()
File
- api/
src/ Framework/ Mock.php, line 88
Class
- Mock
- Represents a mock framework (experimental).
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function alter($type, &$data, &$context1 = NULL, &$context2 = NULL, &$context3 = NULL) {
if ($type == 'realistic_dummy_content_attribute_manipulator') {
return realistic_dummy_content_api_realistic_dummy_content_attribute_manipulator_alter($data, $context1, $context2, $context3);
}
}