Commit 55097255 authored by markcarver's avatar markcarver

Issue #3032750 by markcarver: Default to Bootstrap 3.4.1

parent a72c7ee1
......@@ -117,6 +117,7 @@ function _drush_bootstrap_generate_docs_settings(Theme $bootstrap) {
$output[] = '';
$output[] = '[Drupal Bootstrap]: https://www.drupal.org/project/bootstrap';
$output[] = '[Bootstrap Framework]: https://getbootstrap.com/docs/3.4/';
$output[] = '';
// Save the generated output to the appropriate file.
return file_put_contents(realpath($bootstrap->getPath() . '/docs/Theme-Settings.md'), implode("\n", $output)) !== FALSE;
......
......@@ -96,7 +96,7 @@ flexibility if the need ever arises.
</div>
<pre class=" language-yaml"><code>
cdn_custom_css:
'https://cdn.jsdelivr.net/npm/bootstrap@3.4.0/dist/css/bootstrap.css'
'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.css'
</code></pre>
</td>
......@@ -112,7 +112,7 @@ used instead if site aggregation is enabled.
</div>
<pre class=" language-yaml"><code>
cdn_custom_css_min:
'https://cdn.jsdelivr.net/npm/bootstrap@3.4.0/dist/css/bootstrap.min.css'
'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css'
</code></pre>
</td>
......@@ -128,7 +128,7 @@ flexibility if the need ever arises.
</div>
<pre class=" language-yaml"><code>
cdn_custom_js:
'https://cdn.jsdelivr.net/npm/bootstrap@3.4.0/dist/js/bootstrap.js'
'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.js'
</code></pre>
</td>
......@@ -144,7 +144,7 @@ used instead if site aggregation is enabled.
</div>
<pre class=" language-yaml"><code>
cdn_custom_js_min:
'https://cdn.jsdelivr.net/npm/bootstrap@3.4.0/dist/js/bootstrap.min.js'
'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js'
</code></pre>
</td>
......@@ -158,7 +158,7 @@ cdn_jsdelivr_version
Choose the Bootstrap version from jsdelivr
</div>
<pre class=" language-yaml"><code>
cdn_jsdelivr_version: 3.4.0
cdn_jsdelivr_version: 3.4.1
</code></pre>
</td>
......
......@@ -61,7 +61,7 @@ class Bootstrap {
*
* @var string
*/
const FRAMEWORK_VERSION = '3.4.0';
const FRAMEWORK_VERSION = '3.4.1';
/**
* The Bootstrap Framework documentation site.
......@@ -1010,6 +1010,7 @@ class Bootstrap {
$versions['3.3.6'] = $versions['3.3.5'];
$versions['3.3.7'] = $versions['3.3.6'];
$versions['3.4.0'] = $versions['3.3.7'];
$versions['3.4.1'] = $versions['3.4.0'];
}
// Return a specific versions icon set.
......
......@@ -15,7 +15,7 @@ use Drupal\bootstrap\Plugin\Setting\SettingBase;
* type = "textfield",
* weight = 1,
* title = @Translation("Bootstrap CSS URL"),
* defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.0/dist/css/bootstrap.css",
* defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.css",
* description = @Translation("It is best to use <code>https</code> protocols here as it will allow more flexibility if the need ever arises."),
* groups = {
* "advanced" = @Translation("Advanced"),
......
......@@ -15,7 +15,7 @@ use Drupal\bootstrap\Plugin\Setting\SettingBase;
* type = "textfield",
* weight = 2,
* title = @Translation("Minified Bootstrap CSS URL"),
* defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.0/dist/css/bootstrap.min.css",
* defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css",
* description = @Translation("Additionally, you can provide the minimized version of the file. It will be used instead if site aggregation is enabled."),
* groups = {
* "advanced" = @Translation("Advanced"),
......
......@@ -15,7 +15,7 @@ use Drupal\bootstrap\Plugin\Setting\SettingBase;
* type = "textfield",
* weight = 3,
* title = @Translation("Bootstrap JavaScript URL"),
* defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.0/dist/js/bootstrap.js",
* defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.js",
* description = @Translation("It is best to use <code>https</code> protocols here as it will allow more flexibility if the need ever arises."),
* groups = {
* "advanced" = @Translation("Advanced"),
......
......@@ -15,7 +15,7 @@ use Drupal\bootstrap\Plugin\Setting\SettingBase;
* type = "textfield",
* weight = 4,
* title = @Translation("Minified Bootstrap JavaScript URL"),
* defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.0/dist/js/bootstrap.min.js",
* defaultValue = "https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js",
* description = @Translation("Additionally, you can provide the minimized version of the file. It will be used instead if site aggregation is enabled."),
* groups = {
* "advanced" = @Translation("Advanced"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment