public function inherited($field)
    {
        list($inherited, $currentParams) = $this->getInheritedParams($field);

        $this->modifyHeader($field, $currentParams);

        return $inherited;
    }
public function inherited($field)
    {
        list($inherited, $currentParams) = $this->getInheritedParams($field);

        $this->modifyHeader($field, $currentParams);

        return $inherited;
    }
public function inherited ( $ field ) { list ( $ inherited , $ currentParams ) = $ this -> getInheritedParams ( $ field ) ; $ this -> modifyHeader ( $ field , $ currentParams ) ; return $ inherited ; }
Helper method to return an ancestor page to inherit from. The current
page object is returned.

@param string $field Name of the parent folder

@return PageInterface
Helper method to return an ancestor page to inherit from . The current page object is returned .