function drafty in Drafty 7
Factory function for the DraftyTracker class.
3 string references to 'drafty'
- DraftyTitleTestCase::setUp in tests/
DraftyTitleTestCase.test - Sets up a Drupal site for running functional and integration tests.
- DraftyWebTestCase::setUp in tests/
DraftyWebTestCase.test - Sets up a Drupal site for running functional and integration tests.
- drafty_queue_delete_revision in ./
drafty.module - Callback function to delete a single temporary-draft revision.
File
- ./
drafty.module, line 170 - Hook implementations and API functions for the Drafty module.
Code
function drafty() {
$tracker =& drupal_static(__FUNCTION__);
if (!isset($tracker)) {
$tracker = new Drafty();
}
return $tracker;
}