Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be very handy if there were a flag set by formblock that indicates that the form gets rendered to be displayed in a block or not, because if we are inside a block we often like to remove a lot of form elements via hook_form_alter() but we don't if we get displayed in full page view.
It's possible to achieve that by looking at the current path using arg(...) but only if we are not on the node/add/TYPE page and it's just cleaner having a flag.
except for that ;) nice module.
Comments
Comment #1
mikey_p CreditAttribution: mikey_p commentedMakes sense. I'll take a look at this.
Comment #2
jenna.tollersonThat would be a neat-o feature. Subscribing! Let me know if you need any help testing.
Comment #3
DannyPfeiffer CreditAttribution: DannyPfeiffer commenteddefinitely interested in this.
Comment #4
mrfelton CreditAttribution: mrfelton commentedalso interested in this.
Comment #5
mikey_p CreditAttribution: mikey_p commentedHaven't seen any more interest in this for awhile, so I'm closing for now. Feel free to reopen against 8.x if you're still interested in this.
Comment #6
mikey_p CreditAttribution: mikey_p commented