20 if ( isset( $this->mParams[
'output-as-default'] ) ) {
21 $this->outputAsDefault = (bool)$this->mParams[
'output-as-default'];
24 # Per HTML5 spec, hidden fields cannot be 'required'
26 unset( $this->mParams[
'required'] );
35 if ( $this->outputAsDefault ) {
44 $this->mParent->addHiddenField( $name, $value,
$params );
84class_alias( HTMLHiddenField::class,
'HTMLHiddenField' );
array $params
The job parameters.