src/lib/eZ/RichText/Converter/Render.php
protected function extractConfiguration(DOMElement $embed)
    {
        $hash = [];
        $configElements = $embed->getElementsByTagName('ezconfig');

        if ($configElements->length) {
            $hash = $this->extractHash($configElements->item(0));
        }

        return $hash;
    }
protected function extractConfiguration(DOMElement $embed)
    {
        $hash = [];
        $configElements = $embed->getElementsByTagName('ezconfig');

        if ($configElements->length) {
            $hash = $this->extractHash($configElements->item(0));
        }

        return $hash;
    }
protected function extractConfiguration ( DOMElement $ embed ) { $ hash = [ ] ; $ configElements = $ embed -> getElementsByTagName ( 'ezconfig' ) ; if ( $ configElements -> length ) { $ hash = $ this -> extractHash ( $ configElements -> item ( 0 ) ) ; } return $ hash ; }
Extracts configuration hash from embed element.

@param \DOMElement $embed

@return array
Extracts configuration hash from embed element .