public function PrivateMessageConfigFormPluginInterface::validateForm in Private Message 8.2
Validate this section of the form.
Parameters
array $form: The form render array.
\Drupal\Core\Form\FormStateInterface $formState: The Drupal form state.
Return value
array A render array containing the form elements this plugin provides.
1 method overrides PrivateMessageConfigFormPluginInterface::validateForm()
- PrivateMessageConfigFormBase::validateForm in src/
Plugin/ PrivateMessageConfigForm/ PrivateMessageConfigFormBase.php - Validate this section of the form.
File
- src/
Plugin/ PrivateMessageConfigForm/ PrivateMessageConfigFormPluginInterface.php, line 52
Class
- PrivateMessageConfigFormPluginInterface
- Interface for PrivateMessageConfigForm plugins.
Namespace
Drupal\private_message\Plugin\PrivateMessageConfigFormCode
public function validateForm(array &$form, FormStateInterface $formState);