You are here

protected function OGMTTestBase::_set_node_body in Open Graph meta tags 7.2

Same name and namespace in other branches
  1. 6 tests/TestBase.inc \OGMTTestBase::_set_node_body()
  2. 7 tests/TestBase.inc \OGMTTestBase::_set_node_body()
2 calls to OGMTTestBase::_set_node_body()
OGMTBasicTest::testExtractImagesFromNode in tests/Basic.test
OGMTTestBase::_build_test_node in tests/TestBase.inc

File

tests/TestBase.inc, line 45

Class

OGMTTestBase
Base test class

Code

protected function _set_node_body(&$node, $body) {
  $node->body = array(
    LANGUAGE_NONE => array(
      '0' => array(
        'value' => $body,
      ),
    ),
  );
}