-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
09 - Add a list representation for locations in the admin interface #14
Open
luca-rath
wants to merge
1
commit into
assignment/08
Choose a base branch
from
assignment/09
base: assignment/08
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f4309d8
to
2146712
Compare
18f3a95
to
ae22f3b
Compare
b13a757
to
e2a0fc9
Compare
be1cc5a
to
7dc36da
Compare
e2a0fc9
to
0b24555
Compare
7dc36da
to
fe62546
Compare
0b24555
to
f03d868
Compare
fe62546
to
c9eee32
Compare
909a038
to
d95eb0f
Compare
1db527d
to
fc8d2d1
Compare
4e356fb
to
f42bddd
Compare
250d87c
to
ec308df
Compare
f42bddd
to
69ba7ac
Compare
ec308df
to
9a5c2e1
Compare
69ba7ac
to
502a9cf
Compare
9a5c2e1
to
8c1549c
Compare
7d69d6e
to
e7afc40
Compare
162ccb1
to
6706d26
Compare
138928b
to
7781a65
Compare
6706d26
to
cde70d1
Compare
7781a65
to
d9445b1
Compare
cde70d1
to
8d57017
Compare
d9445b1
to
c32194a
Compare
e8c72fc
to
d76d4e6
Compare
28a5b6c
to
8d5d177
Compare
d76d4e6
to
868809b
Compare
8d5d177
to
cfd2480
Compare
e4827b9
to
4afec2d
Compare
c72af76
to
b63f2f8
Compare
4afec2d
to
3bc14f6
Compare
b63f2f8
to
84af386
Compare
458ce4f
to
b2615d7
Compare
84af386
to
4d728de
Compare
b2615d7
to
04783ca
Compare
4d728de
to
c38fd1f
Compare
04783ca
to
383262c
Compare
c38fd1f
to
f635af0
Compare
383262c
to
b2fe808
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Display location list in the admin interface
Goal
After adding the
Location
entity in the last assignment, we want to add a new navigation item to the Suluadministration interface that allows to access a list of all managed locations.
Steps
App\Controller\Admin\LocationController
with agetListAction
to that returnsour locations
config/routes_admin.yaml
locations
in yourconfig/packages/sulu_admin.yaml
locations
in aconfig/lists/locations.xml
filesrc/Admin/LocationAdmin.php
src/Admin/LocationAdmin.php
ListRouteBuilder
to add a new admin route in yoursrc/Admin/LocationAdmin.php
Hints
src/Admin/EventAdmin.php
fileMore Information
Have a look at assignment 07 for more information.
Links