Media/BBcode/MediaCodeDefinition.php
protected function getStyle(BBcodeElementNodeInterface $el)
    {
        $options = $el->getAttribute();
        $options = json_decode($options['media'], true);

        return is_array($options) && array_key_exists('style', $options) ? $options['style'] : '';
    }
protected function getStyle(BBcodeElementNodeInterface $el)
    {
        $options = $el->getAttribute();
        $options = json_decode($options['media'], true);

        return is_array($options) && array_key_exists('style', $options) ? $options['style'] : '';
    }
protected function getStyle ( BBcodeElementNodeInterface $ el ) { $ options = $ el -> getAttribute ( ) ; $ options = json_decode ( $ options [ 'media' ] , true ) ; return is_array ( $ options ) && array_key_exists ( 'style' , $ options ) ? $ options [ 'style' ] : '' ; }
Get requested media style

@param BBcodeElementNodeInterface $el

@return string
Get requested media style