plugin/drop-zone/Manager/DropzoneManager.php
public function getUserTeamId(Dropzone $dropzone, User $user)
    {
        $teamId = null;

        if (Dropzone::DROP_TYPE_TEAM === $dropzone->getDropType()) {
            $teamDrops = $this->getTeamDrops($dropzone, $user);

            if (1 === count($teamDrops)) {
                $teamId = $teamDrops[0]->getTeamUuid();
            }
        }

        return $teamId;
    }
public function getUserTeamId(Dropzone $dropzone, User $user)
    {
        $teamId = null;

        if (Dropzone::DROP_TYPE_TEAM === $dropzone->getDropType()) {
            $teamDrops = $this->getTeamDrops($dropzone, $user);

            if (1 === count($teamDrops)) {
                $teamId = $teamDrops[0]->getTeamUuid();
            }
        }

        return $teamId;
    }
public function getUserTeamId ( Dropzone $ dropzone , User $ user ) { $ teamId = null ; if ( Dropzone :: DROP_TYPE_TEAM === $ dropzone -> getDropType ( ) ) { $ teamDrops = $ this -> getTeamDrops ( $ dropzone , $ user ) ; if ( 1 === count ( $ teamDrops ) ) { $ teamId = $ teamDrops [ 0 ] -> getTeamUuid ( ) ; } } return $ teamId ; }
Retrieves teamId of user.

@param Dropzone $dropzone
@param User     $user

@return string|null
Retrieves teamId of user .