protected function getCurrentBlockProperty(Model\BlockInterface $block, $property, $default)
    {
        $layout = $block->getLayout();
        $currentSize = $default;

        foreach ($this->resolveLowerDevices() as $d) {
            if (isset($layout[$d]) && isset($layout[$d][$property])) {
                $currentSize = $layout[$d][$property];
                break;
            }
        }

        return $currentSize;
    }
protected function getCurrentBlockProperty(Model\BlockInterface $block, $property, $default)
    {
        $layout = $block->getLayout();
        $currentSize = $default;

        foreach ($this->resolveLowerDevices() as $d) {
            if (isset($layout[$d]) && isset($layout[$d][$property])) {
                $currentSize = $layout[$d][$property];
                break;
            }
        }

        return $currentSize;
    }
protected function getCurrentBlockProperty ( Model \ BlockInterface $ block , $ property , $ default ) { $ layout = $ block -> getLayout ( ) ; $ currentSize = $ default ; foreach ( $ this -> resolveLowerDevices ( ) as $ d ) { if ( isset ( $ layout [ $ d ] ) && isset ( $ layout [ $ d ] [ $ property ] ) ) { $ currentSize = $ layout [ $ d ] [ $ property ] ; break ; } } return $ currentSize ; }
Returns the current block layout property.

@param Model\BlockInterface $block
@param string               $property
@param int                  $default

@return int
Returns the current block layout property .