public function Drupal8::alter in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::alter()
- 7.2 api/src/Framework/Drupal8.php \Drupal\realistic_dummy_content_api\Framework\Drupal8::alter()
Allows third-party modules to alter data.
Overrides Framework::alter
File
- api/
src/ Framework/ Drupal8.php, line 218
Class
- Drupal8
- Drupal 8-specific code.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public function alter($type, &$data, &$context1 = NULL, &$context2 = NULL, &$context3 = NULL) {
// @phpstan-ignore-next-line
return \Drupal::moduleHandler()
->alter($type, $data, $context1, $context2);
}