You are here

public function SocialDrupalContext::iEnableTheTourSetting in Open Social 8

Same name and namespace in other branches
  1. 8.2 tests/behat/features/bootstrap/SocialDrupalContext.php \SocialDrupalContext::iEnableTheTourSetting()

I enable the tour setting.

@When I enable the tour setting

File

tests/behat/features/bootstrap/SocialDrupalContext.php, line 167

Class

SocialDrupalContext
Provides pre-built step definitions for interacting with Open Social.

Code

public function iEnableTheTourSetting() {
  \Drupal::configFactory()
    ->getEditable('social_tour.settings')
    ->set('social_tour_enabled', 1)
    ->save();
}