Skip to the content
Documentation

Create the extension Bundle: comparison of v.1 vs v.2

No ratings yet

Versions Compared

Old Version 1

changes.mady.by.user Dominika Kurek

Saved on Apr 19, 2016

compared with

New Version Current

changes.mady.by.user Dominika Kurek

Saved on May 06, 2016

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
language bash

...

$ 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
title Results and next step:

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
title Tutorial path
Page Tree
root Extending PlatformUI with new navigation

Comments

Add a comment

Comments are read by a moderator before they appear.