public function PageBlockDisplayVariant::getWizardOperations in Page Manager 8
Same name and namespace in other branches
- 8.4 src/Plugin/DisplayVariant/PageBlockDisplayVariant.php \Drupal\page_manager\Plugin\DisplayVariant\PageBlockDisplayVariant::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/ DisplayVariant/ PageBlockDisplayVariant.php, line 255 - Contains \Drupal\page_manager\Plugin\DisplayVariant\PageBlockDisplayVariant.
Class
- PageBlockDisplayVariant
- Provides a variant plugin that simply contains blocks.
Namespace
Drupal\page_manager\Plugin\DisplayVariantCode
public function getWizardOperations($cached_values) {
return [
'content' => [
'title' => $this
->t('Content'),
'form' => VariantPluginContentForm::class,
],
];
}