tmgmt.ui.interface.source.inc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. /**
  3. * Interface for source ui controllers.
  4. *
  5. * @ingroup tmgmt_source
  6. */
  7. interface TMGMTSourceUIControllerInterface extends TMGMTPluginBaseInterface {
  8. /**
  9. * Form callback for the job item review form.
  10. */
  11. public function reviewForm($form, &$form_state, TMGMTJobItem $item);
  12. /**
  13. * Form callback for the data item element form.
  14. */
  15. public function reviewDataItemElement($form, &$form_state, $data_item_key, $parent_key, array $data_item, TMGMTJobItem $item);
  16. /**
  17. * Validation callback for the job item review form.
  18. */
  19. public function reviewFormValidate($form, &$form_state, TMGMTJobItem $item);
  20. /**
  21. * Submit callback for the job item review form.
  22. */
  23. public function reviewFormSubmit($form, &$form_state, TMGMTJobItem $item);
  24. /**
  25. * {@inheritdoc}
  26. *
  27. * @see tmgmt_ui_menu().
  28. */
  29. public function hook_menu();
  30. /**
  31. * {@inheritdoc}
  32. *
  33. * @see tmgmt_ui_forms().
  34. */
  35. public function hook_forms();
  36. /**
  37. * {@inheritdoc}
  38. *
  39. * @see tmgmt_ui_views_default_views().
  40. */
  41. public function hook_views_default_views();
  42. }