function acquia_contenthub_form_entity_form_submit in Acquia Content Hub 8
Generic submit handler for the entity form. Not natively hooked by naming.
See also
acquia_contenthub_form_entity_form_alter()
3 calls to acquia_contenthub_form_entity_form_submit()
- acquia_contenthub_form_block_content_form_submit in ./
acquia_contenthub.module - Submit handler for the block content form with acquia contenthub options.
- acquia_contenthub_form_node_form_submit in ./
acquia_contenthub.module - Submit handler for the node form with acquia contenthub options.
- acquia_contenthub_form_taxonomy_term_form_submit in ./
acquia_contenthub.module - Submit handler for the taxonomy term form with acquia contenthub options.
File
- ./
acquia_contenthub.module, line 114 - Contains acquia_contenthub.module.
Code
function acquia_contenthub_form_entity_form_submit(FormStateInterface $form_state) {
$entity_form_service = \Drupal::service('acquia_contenthub.form.entity_form');
$entity_form_service
->saveSettings($form_state);
}