You are here

public function Wizard::getParameterNames in Flexiform 8

2 calls to Wizard::getParameterNames()
Wizard::filterParameters in contrib/wizard/src/Entity/Wizard.php
Filters the parameters to remove any without a valid type.
Wizard::getParameters in contrib/wizard/src/Entity/Wizard.php

File

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

Class

Wizard
Defines a flexiform wizard entity class.

Namespace

Drupal\flexiform_wizard\Entity

Code

public function getParameterNames() {
  if (preg_match_all('|\\{(\\w+)\\}|', $this
    ->getPath(), $matches)) {
    return $matches[1];
  }
  return [];
}