You are here

public function Wizard::getParameters in Flexiform 8

File

contrib/wizard/src/Entity/Wizard.php, line 237

Class

Wizard
Defines a flexiform wizard entity class.

Namespace

Drupal\flexiform_wizard\Entity

Code

public function getParameters() {
  $names = $this
    ->getParameterNames();
  if ($names) {
    return array_intersect_key($this->parameters, array_flip($names));
  }
  return [];
}