You are here

public function HostingForm::addSubmitHandler in Aegir Objects 7.3

Register a form submit handler.

File

classes/HostingForm.inc, line 97
The HostingForm class.

Class

HostingForm
@file The HostingForm class.

Code

public function addSubmitHandler($callback) {
  $this->form['#submit'][] = $callback;
}