You are here

public function FieldablePanelsPanesSubContext::afterUserCreate in Panopoly 7

Record all the users created during this scenario.

We need to use this hook so we can get users created in steps on other contexts (most probably the DrupalContext).

@AfterUserCreate

File

modules/panopoly/panopoly_test/behat/steps/panopoly_test_fpp.behat.inc, line 72
Provide Behat step-definitions for Fieldable Panels Panes.

Class

FieldablePanelsPanesSubContext

Code

public function afterUserCreate(AfterUserCreateScope $scope) {
  $user = $scope
    ->getEntity();
  $this->external_users[$user->name] = $user;
}