You are here

public function TestSubContext::printRegionContents in Panopoly 7

Same name and namespace in other branches
  1. 8.2 modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc \TestSubContext::printRegionContents()

Print the HTML contents of a region for debugging purposes.

@Given print the contents of the :region region

File

modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc, line 697
Provide Behat step-definitions for generic Panopoly tests.

Class

TestSubContext

Code

public function printRegionContents($region) {
  print $this
    ->getRegion($region)
    ->getOuterHtml();
}