Craft\Seomatic_MetaModel::getCpEditUrl PHP Method

getCpEditUrl() public method

Returns the element's CP edit URL.
public getCpEditUrl ( ) : string | false
return string | false
    public function getCpEditUrl()
    {
        $locale = craft()->isLocalized() && $this->locale != craft()->language ? '/' . $this->locale : '';
        return UrlHelper::getCpUrl('seomatic/' . 'meta' . '/' . $this->id . $locale);
    }