简体   繁体   English

Sylius 添加管理页面

[英]Sylius add admin Page

I'm trying to create an extra admin page in Sylius.我正在尝试在 Sylius 中创建一个额外的管理页面。 However, the documentation does not explain how to create a new admin page.但是,文档没有说明如何创建新的管理页面。 The page I want to create is a subcategory page.我要创建的页面是子类别页面。

I did manage to create a new route and to create a new controller, but the template uses a lot of functions that are not included in my custom Controller.我确实设法创建了一条新路线并创建了一条新的 controller,但该模板使用了很多我的自定义 Controller 中未包含的功能。

Do I need to extend my custom controller with CreatePage or something?我是否需要使用CreatePage或其他东西扩展我的自定义 controller 吗?

If your page represents a CRUD operation on an entity, then this page will help you do a basic setup.如果您的页面代表对实体的 CRUD 操作,那么此页面将帮助您进行基本设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM