FormStateDecoratorBase::setProgrammed

public FormStateDecoratorBase::setProgrammed($programmed = TRUE)

Sets that this form was submitted programmatically.

Parameters

bool $programmed: If TRUE, the form was submitted programmatically.

Return value

$this

Overrides FormStateInterface::setProgrammed

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 226

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

1
2
3
4
5
public function setProgrammed($programmed = TRUE) {
  $this->decoratedFormState->setProgrammed($programmed);
 
  return $this;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.