New answers tagged

1 vote

Is it possible to change the output of CRM_Core_Error::debug($form)?

Yes, you can do similar to CRM_Core_Error::debug_var but using the html dumper: $dumpForm = (new \Symfony\Component\VarDumper\Dumper\HtmlDumper('php://output')) ->dump((new \Symfony\Component\...
Demerit's user avatar
  • 20.7k
1 vote

How can I determine which PHP Form class a displaying Form belongs to?

Appending &smartyDebug=1 to the URL will pop out a window that contains a lot of info including formName and formClass.
Lars SG's user avatar
  • 2,815
1 vote

How can I determine which PHP Form class a displaying Form belongs to?

Yes, to modify the form you can hook_civicrm_buildForm. If you print the $formName you should be able to see formname on screen. I normally use Civi build in function for debuggings To print on ...
Pradeep Nayak - Circle Int.'s user avatar

Top 50 recent answers are included