Skip to content

Commit

Permalink
Finalize custom entities doc
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Jul 27, 2023
1 parent 28d2213 commit 900cdbf
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/add_custom_entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,18 @@ You can extends the `MonsieurBiz\SyliusSearchPlugin\Search\Request\Search` class

## Define your Search query filter

@TODO
[Declare your search query filter for instant search](../dist/src/Resources/config/services.yaml#L77).

[Declare your search query filter for search](../dist/src/Resources/config/services.yaml#L87).

You can extends the `MonsieurBiz\SyliusSearchPlugin\Search\Request\QueryFilter\SearchTermFilter` class to manage your custom behaviour like in [products](../src/Search/Request/QueryFilter/Product/SearchTermFilter.php).

## Add the templates for display

@TODO
[Declare your templates for instant search](../dist/templates/bundles/MonsieurBizSyliusSearchPlugin/Instant/Taxon/_box.html.twig).

[Declare your templates for search](../dist/templates/bundles/MonsieurBizSyliusSearchPlugin/Search/Taxon/_box.html.twig).

## Add your document translation

@TODO
[Declare your translations for your entity](../dist/translations/messages.en.yaml#L5).

0 comments on commit 900cdbf

Please sign in to comment.