You are here

public function YamlFormInterface::hasState in YAML Form 8

Determine if the stored value for a given key exists in the form's state.

Parameters

string $key: The key of the data to retrieve.

Return value

bool TRUE if the stored value for a given key exists

1 method overrides YamlFormInterface::hasState()
YamlForm::hasState in src/Entity/YamlForm.php
Determine if the stored value for a given key exists in the form's state.

File

src/YamlFormInterface.php, line 522

Class

YamlFormInterface
Provides an interface defining a form entity.

Namespace

Drupal\yamlform

Code

public function hasState($key);