$this->_addBackgrounds('background');
$this->_addBackgrounds('intro');
$this->_addBackgrounds('standard');
- $this->_addBackgrounds('draganddropArea1');
- $this->_addBackgrounds('draganddropArea2');
+ $this->_addBackgrounds('draganddrop');
$this->writeSass();
}
$sassPrefix = $sassPrefix ?? $dataKey;
$this->data->set($dataKey, '');
$this->data->set($dataKey . 'Mobile', '');
-
- $dataKeyCustom = $dataKey . 'Custom';
- if (str_starts_with($dataKey, 'draganddrop')) {
- $dataKeyCustom = 'draganddropCustom';
- }
- $custom = $this->theme->$dataKeyCustom;
+ $custom = $this->theme->{$dataKey . 'Custom'};
if ($custom) {
$this->_addBackgroundVariables($sassPrefix . '-desktop', $themePrefix, $dataKey);
protected static $_permissionBase = 'quiz';
public $registerMediaConversionsUsingModelInstance = false;
-
const DESKTOP_SIZE = '1200 x 680px';
const MOBILE_SIZE = '390 x 844px';
-
const ICON_SIZE = '512 x 512px';
public function setFields()