Skip to main content
8 events
when toggle format what by license comment
Nov 7, 2020 at 18:14 vote accept Patrick Kenny
Nov 7, 2020 at 16:15 answer added 4uk4 timeline score: 1
Nov 7, 2020 at 16:14 comment added 4uk4 I find the naming scheme of that specific hook quite confusing, too. You can take a different approach using the general form alter hook and narrowing down the new entity step by step. I add it as answer.
Nov 7, 2020 at 15:43 comment added Patrick Kenny @4k4 Thanks for the tip. I looked at the class and there is an "add" form, but I can't get it to hit with hook_form_alter() for some reason. (Question edited)
Nov 7, 2020 at 15:43 history edited Patrick Kenny CC BY-SA 4.0
added 623 characters in body
Nov 7, 2020 at 10:43 comment added 4uk4 Yes, this is the right approach, setting a redirect in a form submit handler and it's correct, flaggings don't have a "create" form, but they should have an "add" form by looking at the entity class.
S Nov 7, 2020 at 5:24 answer added Patrick Kenny timeline score: 1
S Nov 7, 2020 at 5:24 history asked Patrick Kenny CC BY-SA 4.0