Skip to content

Commit

Permalink
NGSTACK-807 canonical tag configuration moved closer to other literal…
Browse files Browse the repository at this point in the history
… configurations
  • Loading branch information
Miljenko Muha committed Dec 7, 2023
1 parent dabbd62 commit 0cd17d8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bundle/Resources/config/handlers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ services:
tags:
- { name: netgen_open_graph.meta_tag_handler, alias: literal/url }

netgen_open_graph.handler.literal.canonical_url:
class: Netgen\Bundle\OpenGraphBundle\Handler\Literal\CanonicalUrl
arguments:
- "@router"
tags:
- { name: netgen_open_graph.meta_tag_handler, alias: literal/canonical_url }

netgen_open_graph.handler.field_type.text_line:
class: Netgen\Bundle\OpenGraphBundle\Handler\FieldType\TextLine
parent: netgen_open_graph.handler.field_type.abstract
Expand Down Expand Up @@ -55,10 +62,3 @@ services:
- "@?logger"
tags:
- { name: netgen_open_graph.meta_tag_handler, alias: field_type/ezimage }

netgen_open_graph.handler.literal.canonical_url:
class: Netgen\Bundle\OpenGraphBundle\Handler\Literal\CanonicalUrl
arguments:
- "@router"
tags:
- { name: netgen_open_graph.meta_tag_handler, alias: literal/canonical_url }

0 comments on commit 0cd17d8

Please sign in to comment.