function RulesTestTaskHandler::runTask

Overrides RulesSchedulerDefaultTaskHandler::runTask().

Overrides RulesSchedulerDefaultTaskHandler::runTask

File

rules_scheduler/tests/rules_scheduler_test.inc, line 16

Class

RulesTestTaskHandler
Test task handler class.

Code

public function runTask() {
    $task = $this->getTask();
    $data = unserialize($task['data']);
    // Set the variable defined in the test to TRUE.
    variable_set($data['variable'], TRUE);
}