Clarify $operation and the relationship to form modes (as a counterpart of view modes)

Created on 14 August 2012, over 12 years ago
Updated 13 February 2025, 10 days ago

Spin-off from #1499596-96: Introduce a basic entity form controller :

I've not touched the new entity.module helpers much, in particular the $operation related handling. I'm no fan of the $operation term, while I think introducing the concept makes sense. It's the analogy the view-modes for entity-forms and if field API would support it, it would help a lot to ease customizing registration forms or configuring different form-widgets for searching? I think this needs some more though and probably a rename as it doesn't map to operation (that would be e.g 'delete', 'create'?). Anyway, given that this blocks some further important work I guess we can care about that in a follow-up.

To be completed.

📌 Task
Status

Postponed: needs info

Version

11.0 🔥

Component

entity system

Created by

🇮🇹Italy plach Venezia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024