draggableviews.api.php 713 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @file
  4. * Hooks provided by the Draggableviews module.
  5. */
  6. /**
  7. * If Native handler used, you can alter arguments set before saved to database.
  8. *
  9. * This can be used when you would like to exclude or add some of arguments
  10. * to be recorded to database. Also you can add new records to be saved to
  11. * database (for example for translated nodes, etc.)
  12. *
  13. * @see http://drupal.org/node/1463596#comment-5687620
  14. *
  15. * @param array $arguments
  16. * Array of arguments before saving.
  17. * @param array $form_values
  18. * Array of submitted entity ids and weights.
  19. * @param object $view
  20. * Views object.
  21. */
  22. function hook_draggableviews_handler_native_arguments_alter(&$arguments, $view, &$form_values) {}