Skip to content

Instantly share code, notes, and snippets.

@PSF1
Created February 19, 2024 10:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PSF1/f82d31920fa1032e12dce1513948cc89 to your computer and use it in GitHub Desktop.
Save PSF1/f82d31920fa1032e12dce1513948cc89 to your computer and use it in GitHub Desktop.
Steps to add a new action operation to Entity
Steps to add a new operation to Entity:
- In the entity class:
-- Add definition in handlers/form
-- Override handlers/route_provider with a new route generator.
-- Add route template in links
- Create a new form to manage the operation.
- Generate a new route in the route generator class.
- Add operation in the entity's ListBuilder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment