public function modularTwig($var = null)
    {
        if ($var !== null) {
            $this->modular_twig = (bool)$var;
            if ($var) {
                $this->visible(false);
                // some routable logic
                if (empty($this->header->routable)) {
                    $this->routable = false;
                }
            }
        }

        return $this->modular_twig;
    }
public function modularTwig($var = null)
    {
        if ($var !== null) {
            $this->modular_twig = (bool)$var;
            if ($var) {
                $this->visible(false);
                // some routable logic
                if (empty($this->header->routable)) {
                    $this->routable = false;
                }
            }
        }

        return $this->modular_twig;
    }
public function modularTwig ( $ var = null ) { if ( $ var !== null ) { $ this -> modular_twig = ( bool ) $ var ; if ( $ var ) { $ this -> visible ( false ) ; // some routable logic if ( empty ( $ this -> header -> routable ) ) { $ this -> routable = false ; } } } return $ this -> modular_twig ; }
Gets and sets the modular_twig var that helps identify this page as a modular child page that will need
twig processing handled differently from a regular page.

@param  bool $var true if modular_twig

@return bool      true if modular_twig
Gets and sets the modular_twig var that helps identify this page as a modular child page that will need twig processing handled differently from a regular page .