1 contextual_links_example.module contextual_links_example_object_edit_form_submit($form, &$form_state)

Submit handler for contextual_links_example_object_edit_form().

Related topics

File

modules/examples/contextual_links_example/contextual_links_example.module, line 350
Shows how to use Backdrop's contextual links functionality.

Code

function contextual_links_example_object_edit_form_submit($form, &$form_state) {
  backdrop_set_message(t('Object @id was edited.', array('@id' => $form_state['values']['object_id'])));
}