function RecipeAppliedEvent::__construct
Constructs a RecipeAppliedEvent object.
Parameters
\Drupal\Core\Recipe\Recipe $recipe: The recipe that was applied.
File
-
core/
lib/ Drupal/ Core/ Recipe/ RecipeAppliedEvent.php, line 25
Class
- RecipeAppliedEvent
- Event dispatched after a recipe has been applied.
Namespace
Drupal\Core\RecipeCode
public function __construct(public readonly Recipe $recipe) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.