Version 1
[yaffs-website] / web / modules / contrib / ctools / src / Plugin / PluginWizardInterface.php
1 <?php
2
3 namespace Drupal\ctools\Plugin;
4
5 /**
6  * Provides an interface for configuring a plugin via wizard steps.
7  */
8 interface PluginWizardInterface {
9
10   /**
11    * Retrieve a list of FormInterface classes by their step key in the wizard.
12    *
13    * @param mixed $cached_values
14    *   The cached values used in the wizard. The plugin we're editing will
15    *    always be assigned to the 'plugin' key.
16    *
17    * @return array
18    *   An associative array keyed on the step name with an array value with the
19    *   following keys:
20    *   - title (string): Human-readable title of the step.
21    *   - form (string): Fully-qualified class name of the form for this step.
22    */
23   public function getWizardOperations($cached_values);
24
25 }