public function template()
    {
        return $this->entity->template === 'custom' ? $this->entity->custom_template : $this->entity->template;
    }
public function template()
    {
        return $this->entity->template === 'custom' ? $this->entity->custom_template : $this->entity->template;
    }
public function template ( ) { return $ this -> entity -> template === 'custom' ? $ this -> entity -> custom_template : $ this -> entity -> template ; }
Get widget's view template.

@return string
Get widget s view template .