You are here

public function FeatureContext::beforeScenarioCampaign in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 behat-tests/features/bootstrap/FeatureContext.php \FeatureContext::beforeScenarioCampaign()

Gets a reference to current campaigns, option sets, goals, etc. for tracking purposes.

@BeforeScenario @campaign

File

behat-tests/features/bootstrap/FeatureContext.php, line 76

Class

FeatureContext
Defines application features from the specific context.

Code

public function beforeScenarioCampaign(BeforeScenarioScope $scope) {
  $this->campaigns = personalize_agent_load_multiple();
  $this->actions = visitor_actions_custom_load_multiple();
}