45543b0be08317b2ae5a402e38ac43fcc20cb0db
[GitHub/WoltLab/woltlab.github.io.git] / docs / package / pip / acp-search-provider.md
1 # ACP Search Provider Package Installation Plugin
2
3 Registers data provider for the admin panel search.
4
5 ## Components
6
7 Each acp search result provider is described as an `<acpsearchprovider>` element with the mandatory attribute `name`.
8
9 ### `<classname>`
10
11 The name of the class providing the search results,
12 the class has to implement the `wcf\system\search\acp\IACPSearchResultProvider` interface.
13
14 ### `<showorder>`
15
16 <span class="label label-info">Optional</span>
17
18 Determines at which position of the search result list the provided results are shown.
19
20 ## Example
21
22 {jinja{ codebox(
23 "xml",
24 "package/pip/acpSearchProvider.xml",
25 "acpSearchProvider.xml"
26 ) }}