
| Current Path : /var/www/html/c12park/web/modules/contrib/ctools/src/Wizard/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/c12park/web/modules/contrib/ctools/src/Wizard/WizardFactoryInterface.php |
<?php
namespace Drupal\ctools\Wizard;
/**
* Provide the WizardFactory.
*/
interface WizardFactoryInterface {
/**
* Get the wizard form.
*
* @param FormWizardInterface $wizard
* The form wizard.
* @param array $parameters
* The array of default parameters specific to this wizard.
* @param bool $ajax
* Whether or not this wizard is displayed via ajax modals.
*
* @return array
* Return array form.
*/
public function getWizardForm(FormWizardInterface $wizard, array $parameters = [], $ajax = FALSE);
/**
* Create the wizard object.
*
* @param string $class
* A class name implementing FormWizardInterface.
* @param array $parameters
* The array of parameters specific to this wizard.
*
* @return \Drupal\ctools\Wizard\FormWizardInterface
* Return the wizard interface.
*/
public function createWizard($class, array $parameters);
/**
* Get the wizard form state.
*
* @param \Drupal\ctools\Wizard\FormWizardInterface $wizard
* The form wizard.
* @param array $parameters
* The array of parameters specific to this wizard.
* @param bool $ajax
* Use or not ajax.
*
* @return \Drupal\Core\Form\FormState
* Return the state form.
*/
public function getFormState(FormWizardInterface $wizard, array $parameters, $ajax = FALSE);
}