Skip to content

Commit

Permalink
Update deploy-hooks.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti authored Aug 23, 2023
1 parent ae834a7 commit a7848b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/deploy-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Add a new event subscriber:

```yml
# yourmodule/yourmodule.services.yml
helfi_api_base.your_deploy_hook_subscriber:
class: Drupal\helfi_api_base\EventSubscriber\YourDeployHookSubscriber
yourmodule.your_deploy_hook_subscriber:
class: Drupal\yourmodule\EventSubscriber\YourDeployHookSubscriber
arguments: []
tags:
- { name: event_subscriber }
Expand All @@ -21,7 +21,7 @@ Add a new event subscriber:

declare(strict_types = 1);

namespace Drupal\helfi_api_base\EventSubscriber;
namespace Drupal\yourmodule\EventSubscriber;

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Contracts\EventDispatcher\Event;
Expand Down

0 comments on commit a7848b7

Please sign in to comment.