module_install.api.php 742 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @file
  4. * Documents API functions for module_install module.
  5. */
  6. /**
  7. * Get subfolders to be excluded from the possible install directories.
  8. *
  9. * @return array
  10. * An array of strings representing directories to be excluded from the
  11. * install list. Directories are relative to the Drupal root.
  12. */
  13. function hook_module_install_exceptions() {
  14. return array(
  15. 'sites/all/modules/features',
  16. );
  17. }
  18. /**
  19. * Get subfolders to be included to the possible install directories.
  20. *
  21. * @return array
  22. * An array of strings representing directories to be included to the install
  23. * list. Directories are relative to the Drupal root.
  24. */
  25. function hook_module_install_includes() {
  26. return array(
  27. 'sites/all/modules',
  28. );
  29. }