src/Charcoal/Admin/Property/Input/PermalinkInput.php
public function viewLink()
    {
        $link   = null;
        $locale = $this->lang();
        if ($locale !== null) {
            $translator = $this->translator();
            $origLocale = $translator->getLocale();
            $translator->setLocale($this->lang());
            $link = $this->renderTemplate('{{# withBaseUrl }}{{ obj.url }}{{/ withBaseUrl }}');
            $translator->setLocale($origLocale);
        }

        return $link;
    }
public function viewLink()
    {
        $link   = null;
        $locale = $this->lang();
        if ($locale !== null) {
            $translator = $this->translator();
            $origLocale = $translator->getLocale();
            $translator->setLocale($this->lang());
            $link = $this->renderTemplate('{{# withBaseUrl }}{{ obj.url }}{{/ withBaseUrl }}');
            $translator->setLocale($origLocale);
        }

        return $link;
    }
public function viewLink ( ) { $ link = null ; $ locale = $ this -> lang ( ) ; if ( $ locale !== null ) { $ translator = $ this -> translator ( ) ; $ origLocale = $ translator -> getLocale ( ) ; $ translator -> setLocale ( $ this -> lang ( ) ) ; $ link = $ this -> renderTemplate ( '{{# withBaseUrl }}{{ obj.url }}{{/ withBaseUrl }}' ) ; $ translator -> setLocale ( $ origLocale ) ; } return $ link ; }
Get the permalink's absolute URI.

@return string|null
Get the permalink s absolute URI .