Skip to content
Snippets Groups Projects

Issue #3470178: Links to Swiper CSS and JS point to incorrect version

Files
2
@@ -123,7 +123,7 @@ class SwiperFormatterForm extends EntityForm {
$form['source'] = [
'#type' => 'radios',
'#title' => $this->t('Swiper library source'),
'#description' => $this->t('Under some conditions, usage of some themes and/or other libraries, some issues may occur. Set to local library to try to resolve, but please first make sure to have mandatory for <em>Local</em> <a target="_blank" href="https://unpkg.com/swiper@8/swiper-bundle.min.js">swiper-bundle.js</a> and <a target="_blank" href="https://unpkg.com/swiper@8/swiper-bundle.css">swiper-bundle.min.css</a> and/or mandatory for <em>Local minified</em> <a target="_blank" href="https://unpkg.com/swiper@8/swiper-bundle.min.js">swiper-bundle.min.js</a> and <a target="_blank" href="https://unpkg.com/swiper@8/swiper-bundle.min.css">swiper-bundle.min.css</a> <strong>downloaded and placed in <strong>/libraries/swiper/</strong> folder.</strong>'),
'#description' => $this->t('Under some conditions, usage of some themes and/or other libraries, some issues may occur. Set to local library to try to resolve, but please first make sure to have mandatory for <em>Local</em> <a target="_blank" href="https://cdn.jsdelivr.net/npm/swiper@11.1.10/swiper-bundle.js">swiper-bundle.js</a> and <a target="_blank" href="https://cdn.jsdelivr.net/npm/swiper@11.1.10/swiper-bundle.css">swiper-bundle.css</a> and/or mandatory for <em>Local minified</em> <a target="_blank" href="https://cdn.jsdelivr.net/npm/swiper@11.1.10/swiper-bundle.min.js">swiper-bundle.min.js</a> and <a target="_blank" href="https://cdn.jsdelivr.net/npm/swiper@11.1.10/swiper-bundle.min.css">swiper-bundle.min.css</a> <strong>downloaded and placed in <strong>/libraries/swiper/</strong> folder.</strong>'),
'#options' => [
'package' => $this->t('Package'),
'remote' => $this->t('Remote (cdn)'),
Loading