function FormState::isProgrammed
Returns if this form was submitted programmatically.
Return value
bool If TRUE, the form was submitted programmatically.
Overrides FormStateInterface::isProgrammed
2 calls to FormState::isProgrammed()
- FormState::getCacheableArray in core/
lib/ Drupal/ Core/ Form/ FormState.php  - Returns an array representation of the cacheable portion of the form state.
 - FormState::getRedirect in core/
lib/ Drupal/ Core/ Form/ FormState.php  - Gets the value to use for redirecting after the form has been executed.
 
File
- 
              core/
lib/ Drupal/ Core/ Form/ FormState.php, line 727  
Class
- FormState
 - Stores information about the state of a form.
 
Namespace
Drupal\Core\FormCode
public function isProgrammed() {
  return $this->programmed;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.