You are here

public function DefaultWizardOperation::getFormDisplay in Flexiform 8

Get the operation form display.

Return value

\Drupal\flexiform\FlexiformEntityFormDisplay The form display.

File

contrib/wizard/src/Form/DefaultWizardOperation.php, line 61

Class

DefaultWizardOperation
Default class for flexiform wizard operations.

Namespace

Drupal\flexiform_wizard\Form

Code

public function getFormDisplay() {
  $id = 'flexiform_wizard.' . $this->wizardConfig
    ->id() . '.' . $this->step;
  $display = $this->entityTypeManager
    ->getStorage('entity_form_display')
    ->load($id);
  return $display;
}