Neos\Neos\View\Service\AssetJsonView::render PHP Метод

render() публичный Метод

Configures rendering according to the set variable(s) and calls render on the parent.
public render ( ) : string
Результат string
    public function render()
    {
        if (isset($this->variables['assets'])) {
            $this->setConfiguration(array('assets' => array('_descendAll' => array('_only' => array('label', 'tags', 'identifier')))));
            $this->setVariablesToRender(array('assets'));
        } else {
            $this->setConfiguration(array('asset' => array('_only' => array('label', 'tags', 'identifier'))));
            $this->setVariablesToRender(array('asset'));
        }
        return parent::render();
    }
AssetJsonView