Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
layout
To extend PlatformUI, the very first thing to do is to create a Symfony bundle. For that, you can use the Symfony generate bundle command in the following way:
Code Block | ||
---|---|---|
|
...
$ app/console generate:bundle --namespace=EzSystems/ExtendingPlatformUIConferenceBundle --dir=src --format=yml --no-interaction |
This will generate a new bundle skeleton in src/EzSystems/ExtendingPlatformUIConferenceBundle
, add it to the application kernel and configure eZ Platform to use the generated routing.yml
without asking any question. Of course, you are free to tweak the bundle's namespace and directory or to integrate the PlatformUI extension code in an existing bundle.
Tip | ||
---|---|---|
| ||
If you run this exact command, you will pretty much get the code available under the 1_bundle tag on Github. The next step is then to prepare the bundle to handle PlatformUI specific configuration. |
Panel | ||||
---|---|---|---|---|
| ||||
|