function _social_gdpr_data_policy_submit in Open Social 8.2
Same name and namespace in other branches
- 8.9 modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
- 8.3 modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
- 8.4 modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
- 8.5 modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
- 8.6 modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
- 8.7 modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
- 8.8 modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
- 10.0.x modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
- 10.1.x modules/custom/social_gdpr/social_gdpr.module \_social_gdpr_data_policy_submit()
Form submit redirect for data policy.
Parameters
array $form: Data policy form.
\Drupal\Core\Form\FormStateInterface $form_state: Form state interface.
2 string references to '_social_gdpr_data_policy_submit'
- social_gdpr_form_data_policy_data_policy_revision_edit_alter in modules/
custom/ social_gdpr/ social_gdpr.module - Implements hook_form_FORM_ID_alter().
- social_gdpr_form_data_policy_edit_form_alter in modules/
custom/ social_gdpr/ social_gdpr.module - Implements hook_form_FORM_ID_alter().
File
- modules/
custom/ social_gdpr/ social_gdpr.module, line 100 - Contains social_gdpr.module.
Code
function _social_gdpr_data_policy_submit(array $form, FormStateInterface $form_state) {
$form_state
->setRedirect('social_gdpr.data_policy.revisions');
}