You are here

public function Wizard::removeParameter in Flexiform 8

1 call to Wizard::removeParameter()
Wizard::filterParameters in contrib/wizard/src/Entity/Wizard.php
Filters the parameters to remove any without a valid type.

File

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

Class

Wizard
Defines a flexiform wizard entity class.

Namespace

Drupal\flexiform_wizard\Entity

Code

public function removeParameter($name) {
  unset($this->parameters[$name]);

  // Reset contexts when a parameter is removed.
  $this->contexts = [];
  return $this;
}