Sulu\Component\Content\Metadata\Loader\XmlLegacyLoader::loadSection PHP Method

loadSection() private method

load single block.
private loadSection ( $templateKey, DOMXPath $xpath, DOMNode $node, &$tags )
$xpath DOMXPath
$node DOMNode
    private function loadSection($templateKey, \DOMXPath $xpath, \DOMNode $node, &$tags)
    {
        $result = $this->loadValues($xpath, $node, ['name', 'colspan', 'cssClass']);
        $result['type'] = 'section';
        $result['params'] = $this->loadParams('x:params/x:param', $xpath, $node);
        $result['meta'] = $this->loadMeta('x:meta/x:*', $xpath, $node);
        $result['properties'] = $this->loadProperties($templateKey, 'x:properties/x:*', $tags, $xpath, $node);
        return $result;
    }