private function FeatureContext::getRegion in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 behat-tests/features/bootstrap/FeatureContext.php \FeatureContext::getRegion()
Thin wrapper over Drupal MinkContext's getRegion function.
Parameters
$region: The region identifier to load.
Return value
\Behat\Mink\Element\NodeElement|null The region element node or null if not found.
Throws
\Exception If the region cannot be found on the current page.
4 calls to FeatureContext::getRegion()
- FeatureContext::assertModalWindowWithTitle in behat-tests/features/ bootstrap/ FeatureContext.php 
- @Then /^I should see the modal with title "([^"]*)"$/
- FeatureContext::assertNoRegion in behat-tests/features/ bootstrap/ FeatureContext.php 
- Helper function to assert that a particular region is not visible.
- FeatureContext::findElementInRegion in behat-tests/features/ bootstrap/ FeatureContext.php 
- Helper function to return an element in a particular region.
- FeatureContext::findLinkInRegion in behat-tests/features/ bootstrap/ FeatureContext.php 
- Helper function to return a link in a particular region.
File
- behat-tests/features/ bootstrap/ FeatureContext.php, line 718 
Class
- FeatureContext
- Defines application features from the specific context.
Code
private function getRegion($region) {
  return $this->contexts['Drupal\\DrupalExtension\\Context\\MinkContext']
    ->getRegion($region);
}