public function PardotCampaignFormBase::validate in Pardot Integration 8
Overrides Drupal\Core\Entity\EntityFormController::validate().
@Todo: Validate pages are entered as <front> or with preceding slash.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: An associative array containing the current state of the form.
File
- src/
Form/ PardotCampaignFormBase.php, line 173
Class
- PardotCampaignFormBase
- Class PardotCampaignFormBase.
Namespace
Drupal\pardot\FormCode
public function validate(array $form, FormStateInterface $form_state) {
parent::validate($form, $form_state);
// Add code here to validate your config entity's form elements.
// Nothing to do here...yet
}