File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 2121
2222declare (strict_types=1 );
2323
24+ /** @var \Galette\Core\Plugins $this */
2425$ this ->register (
25- 'Galette Legal Notices ' ,
26- 'Manage legal notices in Galette ' ,
27- 'Guillaume AGNIERAY ' ,
28- '1.0.0 ' ,
29- '1.2.0 ' ,
30- 'legalnotices ' ,
31- '2025-10-17 ' ,
32- [
26+ name: 'Galette Legal Notices ' , //Name
27+ desc: 'Manage legal notices in Galette ' , //Short description
28+ author: 'Guillaume AGNIERAY ' , //Author
29+ version: '1.0.0 ' , //Version
30+ compver: '1.2.0 ' , //Galette compatible version
31+ route: 'legalnotices ' , //Routing name and translation domain
32+ date: '2025-10-17 ' , //Release date
33+ acls: [ //Permissions needed
3334 'legalnotices_settings ' => 'admin ' ,
3435 'legalnotices_store_settings ' => 'admin ' ,
3536 'legalnotices_pages ' => 'staff ' ,
3637 'legalnotices_page_change ' => 'staff ' ,
3738 'legalnotices_page_edit ' => 'staff '
3839 ],
39- 9999
40+ priority: 9999 //Priority
4041);
You can’t perform that action at this time.
0 commit comments