public function MailhandlerTestCase::getNodeByTitle in Mailhandler 7.2
Get a node by title.
File
- tests/
mailhandler.test, line 92 - Tests for Mailhandler modules.
Class
- MailhandlerTestCase
- Mailhandler test cases.
Code
public function getNodeByTitle($title) {
return node_load(array(
'title' => $title,
));
}