function RecipeEventsTest::onRecipeApply
Same name in other branches
- 11.x core/tests/Drupal/KernelTests/Core/Recipe/RecipeEventsTest.php \Drupal\KernelTests\Core\Recipe\RecipeEventsTest::onRecipeApply()
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Recipe/ RecipeEventsTest.php, line 35
Class
- RecipeEventsTest
- @group Recipe
Namespace
Drupal\KernelTests\Core\RecipeCode
public function onRecipeApply(RecipeAppliedEvent $event) : void {
$this->recipesApplied[] = $event->recipe->name;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.