You are here

public function StandardDisplayBuilder::getWizardOperations in Panels 8.4

Same name and namespace in other branches
  1. 8.3 src/Plugin/DisplayBuilder/StandardDisplayBuilder.php \Drupal\panels\Plugin\DisplayBuilder\StandardDisplayBuilder::getWizardOperations()

Retrieve a list of FormInterface classes by their step key in the wizard.

Parameters

mixed $cached_values: The cached values used in the wizard. The plugin we're editing will always be assigned to the 'plugin' key.

Return value

array An associative array keyed on the step name with an array value with the following keys:

  • title (string): Human-readable title of the step.
  • form (string): Fully-qualified class name of the form for this step.

Overrides PluginWizardInterface::getWizardOperations

File

src/Plugin/DisplayBuilder/StandardDisplayBuilder.php, line 186

Class

StandardDisplayBuilder
The standard display builder for viewing a PanelsDisplayVariant.

Namespace

Drupal\panels\Plugin\DisplayBuilder

Code

public function getWizardOperations($cached_values) {
  $operations = [];
  $operations['content'] = [
    'title' => $this
      ->t('Content'),
    'form' => PanelsContentForm::class,
  ];
  return $operations;
}