modal-sm and modal-lg."), * empty_option = @Translation("Normal"), * groups = { * "javascript" = @Translation("JavaScript"), * "modals" = @Translation("Modals"), * "options" = @Translation("Options"), * }, * options = { * "modal-sm" = @Translation("Small"), * "modal-lg" = @Translation("Large"), * }, * ) */ class ModalSize extends SettingBase { /** * {@inheritdoc} */ public function drupalSettings() { return !!$this->theme->getSetting('modal_enabled'); } }