Skip to content

integration with sonata admin #95

Description

@dbu

if we have a sonata admin in place, would be cool to integrate with that. one generic way could be to have a controller that accepts the id of any item, show a button in the create toolbar "Edit in Backend" and then have that backend controller try to create an edit url for that "thing", e.g. by loading it from phpcr-odm and redirecting to the corresponding sonata admin class. that should work with orm as well.

if we have anything that is not handled in sonata, we would need a way to identify if the button should be shown or not. maybe the js should just query the backend and show that button if the backend provides the editing url, otherwise not even show the button.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions