protected function getDrupalUuid()
    {
        $uuid = null;
        $version = $this->getProjectVersion();

        if ($version >= 8) {
            $result = $this->runDrushCommand('cget system.site uuid', true);

            if ($result->getExitCode() === ResultData::EXITCODE_OK) {
                $message = $result->getMessage();

                if ($colon_pos = strrpos($message, ':')) {
                    $uuid = trim(substr($message, $colon_pos + 1));
                }
            }
        }

        return $uuid;
    }
protected function getDrupalUuid()
    {
        $uuid = null;
        $version = $this->getProjectVersion();

        if ($version >= 8) {
            $result = $this->runDrushCommand('cget system.site uuid', true);

            if ($result->getExitCode() === ResultData::EXITCODE_OK) {
                $message = $result->getMessage();

                if ($colon_pos = strrpos($message, ':')) {
                    $uuid = trim(substr($message, $colon_pos + 1));
                }
            }
        }

        return $uuid;
    }
protected function getDrupalUuid ( ) { $ uuid = null ; $ version = $ this -> getProjectVersion ( ) ; if ( $ version >= 8 ) { $ result = $ this -> runDrushCommand ( 'cget system.site uuid' , true ) ; if ( $ result -> getExitCode ( ) === ResultData :: EXITCODE_OK ) { $ message = $ result -> getMessage ( ) ; if ( $ colon_pos = strrpos ( $ message , ':' ) ) { $ uuid = trim ( substr ( $ message , $ colon_pos + 1 ) ) ; } } } return $ uuid ; }
Get Drupal UUID.

@return string
The Drupal UUID.
Get Drupal UUID .