Back to WorkflowModelInterface class

Method workflowPreprocessForm

public void
workflowPreprocessForm
(\Joomla\CMS\Form\Form $form, mixed $data)
Method to allow derived classes to preprocess the form.
Parameters
  • \Joomla\CMS\Form\Form $form A Form object.
  • mixed $data The data expected for the form.
Returns
  • void
Since
  • 4.0.0
-
  • \Joomla\CMS\MVC\Model\FormField
  • \Exception if there is an error in the form event.

Method workflowPreprocessForm - Source code

/**
 * Method to allow derived classes to preprocess the form.
 *
 * @param   Form    $form   A Form object.
 * @param   mixed   $data   The data expected for the form.
 *
 * @return  void
 *
 * @see     FormField
 * @since   4.0.0
 * @throws  \Exception if there is an error in the form event.
 */
public function workflowPreprocessForm(Form $form, $data);