src/Gzero/Cms/Models/Content.php
protected function getSlug(ContentTranslation $translation)
    {
        $path = str_slug($translation->title);

        if ($this->parent_id) {
            $path = $this->parent->getPath($translation->language_code) . '/' . $path;
        }

        return $path;
    }
protected function getSlug(ContentTranslation $translation)
    {
        $path = str_slug($translation->title);

        if ($this->parent_id) {
            $path = $this->parent->getPath($translation->language_code) . '/' . $path;
        }

        return $path;
    }
protected function getSlug ( ContentTranslation $ translation ) { $ path = str_slug ( $ translation -> title ) ; if ( $ this -> parent_id ) { $ path = $ this -> parent -> getPath ( $ translation -> language_code ) . '/' . $ path ; } return $ path ; }
Returns content slug from translation title with parent slug

@param ContentTranslation $translation Content translation

@return string an unique route path address in specified language
Returns content slug from translation title with parent slug