function RecipeIsApplyingTestSubscriber::getSubscribedEvents

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/recipe_is_applying_test/src/EventSubscriber/RecipeIsApplyingTestSubscriber.php \Drupal\recipe_is_applying_test\EventSubscriber\RecipeIsApplyingTestSubscriber::getSubscribedEvents()

File

core/modules/system/tests/modules/recipe_is_applying_test/src/EventSubscriber/RecipeIsApplyingTestSubscriber.php, line 49

Class

RecipeIsApplyingTestSubscriber
Records the isApplying flag when recipe-provided configuration is saved.

Namespace

Drupal\recipe_is_applying_test\EventSubscriber

Code

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

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