Skip to content

Commit

Permalink
Extend Docs for Admin View Debug Command (#793)
Browse files Browse the repository at this point in the history
* Extend Docs for Admin View Debug Command

* Update book/extend-admin.rst

Co-authored-by: Prokyonn <daniel.mathis@sector8.eu>

---------

Co-authored-by: Prokyonn <daniel.mathis@sector8.eu>
  • Loading branch information
TheCadien and Prokyonn authored Apr 25, 2024
1 parent db4f946 commit 7e7603f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions book/extend-admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,14 @@ Finally the ``View`` object has to be added to the ``ViewCollection``, which is
``configureViews`` method. This has been implemented like this to allow other bundles to further manipulate views that
have already been added by bundles registered previously.

After that an empty list should appear on ``/admin/#/events``. But if you add some data to the ``event`` table it
should be listed:
The debug command can be used to check whether your view has been created correctly. ``sulu:admin:debug-view``

.. code-block:: bash
$ bin/adminconsole sulu:admin:debug-view | grep event
app.events_list sulu_admin.list /events
After that, an empty list should appear on ``/admin/#/events``. Once you add data to the `event` table, the list will populate with the new information:

.. figure:: ../img/extend-admin-list.jpg

Expand Down

0 comments on commit 7e7603f

Please sign in to comment.