src/Gzero/Cms/Models/Content.php
public function disableActiveTranslations($languageCode)
    {
        return $this->translations()
            ->where('content_id', $this->id)
            ->where('language_code', $languageCode)
            ->update(['is_active' => false]);
    }
public function disableActiveTranslations($languageCode)
    {
        return $this->translations()
            ->where('content_id', $this->id)
            ->where('language_code', $languageCode)
            ->update(['is_active' => false]);
    }
public function disableActiveTranslations ( $ languageCode ) { return $ this -> translations ( ) -> where ( 'content_id' , $ this -> id ) -> where ( 'language_code' , $ languageCode ) -> update ( [ 'is_active' => false ] ) ; }
Function sets all content translations in provided language code as inactive

@param string $languageCode language code

@return mixed
Function sets all content translations in provided language code as inactive