You are here

function publishcontent_simpletest in Publish Content 5

Same name and namespace in other branches
  1. 5.2 publishcontent.module \publishcontent_simpletest()

Implementation of hook_simpletest().

File

./publishcontent.module, line 77
Add button to publish or unpublish a node, with access control based on the node type

Code

function publishcontent_simpletest() {
  $dir = drupal_get_path('module', 'publishcontent') . '/tests';
  $tests = file_scan_directory($dir, '\\.test$');
  return array_keys($tests);
}