protected function _getOptions() { $ret = parent::_getOptions(); $ret['width'] = $this->_data->getChildComponent('-video')->getComponent()->getRow()->width; $ret['height'] = $this->_data->getChildComponent('-video')->getComponent()->getRow()->height; return $ret; }
protected function _getOptions() { $ret = parent::_getOptions(); $templateVars = $this->_data->getComponent()->getTemplateVars(); $ret['width'] = $templateVars['config']['width'] + 20; $ret['height'] = $templateVars['config']['height'] + 18; return $ret; }
protected function _getOptions() { $ret = parent::_getOptions(); $config = $this->_data->getComponent()->getConfig(); $ret['width'] = $config['width'] + 20; $ret['height'] = $config['height'] + 18; $ret['adaptHeight'] = true; return $ret; }
public function getLinkDataAttributes() { $ret = parent::getLinkDataAttributes(); $ret['kwc-lightbox-href'] = $this->_data->url; return $ret; }