src/Cms/SectionAwareTrait.php
public function templateOptions()
    {
        $section = $this->section();
        $options = $section->templateOptions();

        if (is_string($options)) {
            return json_decode($options);
        }

        return [];
    }
public function templateOptions()
    {
        $section = $this->section();
        $options = $section->templateOptions();

        if (is_string($options)) {
            return json_decode($options);
        }

        return [];
    }
public function templateOptions ( ) { $ section = $ this -> section ( ) ; $ options = $ section -> templateOptions ( ) ; if ( is_string ( $ options ) ) { return json_decode ( $ options ) ; } return [ ] ; }
Retrieve the template options from the current section.

@return array
Retrieve the template options from the current section .