action_example_node_sticky_action_submit

  1. drupal
    1. 8
    2. 7
Versions
8 – 7 action_example_node_sticky_action_submit($form, $form_state)

Submit handler for action_example_node_sticky_action.

Returns an associative array of values which will be available in the $context when an action is executed.

Related topics

Code

examples/action_example/action_example.module, line 326

<?php
function action_example_node_sticky_action_submit($form, $form_state) {
  return array('author' => $form_state['values']['author']);
}
?>