You are here

function publishcontent_simpletest in Publish Content 5.2

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

Implementation of hook_simpletest().

File

./publishcontent.module, line 117
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);
}