public function FeatureContext::gatherContexts in Pantheon Advanced Page Cache 7
@BeforeScenario
File
- tests/
behat/ features/ bootstrap/ FeatureContext.php, line 29
Class
- FeatureContext
- Define application features from the specific context.
Code
public function gatherContexts(BeforeScenarioScope $scope) {
$environment = $scope
->getEnvironment();
$this->minkContext = $environment
->getContext('Drupal\\DrupalExtension\\Context\\MinkContext');
}