diff --git a/core/state-processors.md b/core/state-processors.md index 28137a95fd1..bf52a79b5d4 100644 --- a/core/state-processors.md +++ b/core/state-processors.md @@ -324,7 +324,7 @@ If you disabled this feature, you need to register the services by yourself and services: # ... - App\State\BlogPostProcessor: ~ + App\State\BlogPostProcessor: tags: [ 'api_platform.state_processor' ] App\State\UserProcessor: diff --git a/core/state-providers.md b/core/state-providers.md index 49f6b603d0b..cbb88f0c360 100644 --- a/core/state-providers.md +++ b/core/state-providers.md @@ -404,7 +404,7 @@ To declare the service explicitly, you can use the following snippet: services: # ... - App\State\BlogPostProvider: ~ + App\State\BlogPostProvider: tags: [ 'api_platform.state_provider' ] # api/config/services.yaml