public function TestSubContext::printRegionContents in Drupal Commons 7.3
Print the HTML contents of a region for debugging purposes.
@Given print the contents of the :region region
File
- tests/
steps/ commons_test.behat.inc, line 331 - Provide Behat step-definitions for generic Commons tests.
Class
Code
public function printRegionContents($region) {
print $this
->getRegion($region)
->getOuterHtml();
}