We attempt to override FormInterface::getFormID with a method names getFormId(). The case of the d is important.

CommentFileSizeAuthor
getFormId-0.patch433 bytesmartin107

Comments

dom.’s picture

Status: Needs review » Reviewed & tested by the community

Thanks !
Just being curious, what are you trying to do here ?

martin107’s picture

what are you trying to do here ?

I think this module has the potential to be really useful to the community....

So anyway I can help out... I found this by accident - clearing up a mistake in some of my own code.... this module was lurking around in sandbox area of mine and when I searched for the right thing ... well the mistake in this module was accidently uncovered.

PS This is just another way php eats glue... variables are case sensitive.... but class methods are not !!! I have only just found this out. So this was a cosmetic thing rather than proper bug :)

dom.’s picture

What are your ideas about this module ?
This is very tricky, because W3C validator is uninstallable locally currently on Windows and this is a difficult operation anyway for standard user. Using the online validator will get your IP ban very quickly if your site is big enough...
Dom.

  • Dom. committed 0c24d84 on 8.x-1.x
    Issue #2494623 by martin107: getFormID does not override getFormId().
    
dom.’s picture

Status: Reviewed & tested by the community » Closed (fixed)