function RecipeEventsTest::getSubscribedEvents

Same name in other branches
  1. 10 core/tests/Drupal/KernelTests/Core/Recipe/RecipeEventsTest.php \Drupal\KernelTests\Core\Recipe\RecipeEventsTest::getSubscribedEvents()

File

core/tests/Drupal/KernelTests/Core/Recipe/RecipeEventsTest.php, line 29

Class

RecipeEventsTest
@group Recipe

Namespace

Drupal\KernelTests\Core\Recipe

Code

public static function getSubscribedEvents() : array {
    return [
        RecipeAppliedEvent::class => 'onRecipeApply',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.