public function drupalLetmein($opts = [
        'user' => null,
        'path' => null
    ])
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        /** @var DrupalProjectType $instance */
        $instance = $this->getProjectInstance();
        $instance->createDrupalLoginLink($opts['user'], $opts['path']);
        $this->executeCommandHook(__FUNCTION__, 'after');
    }
public function drupalLetmein($opts = [
        'user' => null,
        'path' => null
    ])
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        /** @var DrupalProjectType $instance */
        $instance = $this->getProjectInstance();
        $instance->createDrupalLoginLink($opts['user'], $opts['path']);
        $this->executeCommandHook(__FUNCTION__, 'after');
    }
public function drupalLetmein ( $ opts = [ 'user' => null , 'path' => null ] ) { $ this -> executeCommandHook ( __FUNCTION__ , 'before' ) ; /** @var DrupalProjectType $instance */ $ instance = $ this -> getProjectInstance ( ) ; $ instance -> createDrupalLoginLink ( $ opts [ 'user' ] , $ opts [ 'path' ] ) ; $ this -> executeCommandHook ( __FUNCTION__ , 'after' ) ; }
Takeover a Drupal users account.

@param array $opts
@option string $user The account username (default to user 1).
@option string $path The path to redirect to.

@throws \Exception
Takeover a Drupal users account .