public function FieldStateBase::getConfigurationForForm in Field States UI 8
Same name and namespace in other branches
- 8.2 src/FieldStateBase.php \Drupal\field_states_ui\FieldStateBase::getConfigurationForForm()
File
- src/
FieldStateBase.php, line 143
Class
- FieldStateBase
- Provides a base class for field staes.
Namespace
Drupal\field_states_uiCode
public function getConfigurationForForm() {
$form = [];
foreach ($this->configuration as $key => $value) {
$form[$key] = [
'#type' => 'hidden',
'#value' => $value,
];
}
return $form;
}