diff --git a/bootstrap.drush.inc b/bootstrap.drush.inc index d87978f1fe431da4be628e2c438b2159e44351c6..5f1a0b04dd88513f97d19ab2aa1c93bd2e6dec8e 100644 --- a/bootstrap.drush.inc +++ b/bootstrap.drush.inc @@ -107,12 +107,12 @@ function _drush_bootstrap_generate_docs_settings(Theme $bootstrap) { $output[] = $definition['id']; $output[] = ' '; $output[] = ' '; - $output[] = '
'; - $output[] = str_replace('"e;', '"', wordwrap($definition['description'])); - $output[] = '
'; - $output[] = '
';
-        $output[] = wordwrap(Yaml::encode([$definition['id'] => $definition['defaultValue']]));
-        $output[] = '
'; + if ($description = trim(str_replace('"', '"', $definition['description']))) { + $output[] = '
' . $description . '
'; + } + if ($example = trim(Yaml::encode([$definition['id'] => $definition['defaultValue']]))) { + $output[] = '
' . $example . '
'; + } $output[] = ' '; $output[] = ' '; } diff --git a/docs/Sub-Theming.md b/docs/Sub-Theming.md index bb98eacd1ca60ff358e72231e2cb90ff94ab1dc9..062e934e9bca7f8d6f568638f94dec917d5aa719 100644 --- a/docs/Sub-Theming.md +++ b/docs/Sub-Theming.md @@ -8,12 +8,11 @@ are instructions on how to create a [Drupal Bootstrap] based sub-theme. There are several different variations on how to accomplish this task, but this topic will focus on the two primarily and most common ways. -{.alert.alert-warning} **Warning** You should never modify any theme or -sub-theme that is packaged and released from Drupal.org, such as Drupal -Bootstrap. If you do, all changes you have made will be lost once that theme is -updated. Instead, you should create a subtheme from one of the provided -starterkits (this is considered a best practice). Once you've done that, you -can override CSS, templates, and theme processing. +You should never modify any theme or sub-theme that is packaged and released +from Drupal.org, such as Drupal Bootstrap. If you do, all changes you have made +will be lost once that theme is updated. Instead, you should create a sub-theme +from one of the provided starterkits (this is considered a best practice). Once +you've done that, you can override CSS, templates, and theme processing. #### Choose a Starterkit {#starterkit} @@ -23,18 +22,18 @@ can override CSS, templates, and theme processing. [Bootstrap Framework] [Less] source files and a local [Less] preprocessor. - @link sub_theming_sass Sass Starterkit @endlink - uses the [Bootstrap Framework] [Sass] source files and a local [Sass] preprocessor. - -{.alert.alert-info} **Note** Using the "CDN Starterkit" is the preferred method + +{.alert.alert-info} **NOTE:** Using the "CDN Starterkit" is the preferred method for loading Bootstrap CSS and JS on simpler sites that do not use a site-wide -CDN. Using a CDN Provider for loading Bootstrap, however, does mean that it -depends on a third-party service. There is no obligation or commitment made by -this project or these third-party CDN services that guarantees up-time or -quality of service. If you need to customize Bootstrap, you must choose one of -the Less or Sass Starterkits, compile the source code locally, and disable the -"CDN Provider" theme setting. Alternatively, you may also choose to enable a -site-wide CDN implementation for performance reasons. +CDN. There are advantages and disadvantages to using a CDN Provider and you will +need to weigh the benefits based on your site's requirements. Using a CDN +Provider does mean that it depends on a third-party service. There is no +obligation or commitment made by this project or these third-party CDN services +that guarantees up-time or quality of service. If you need to customize +Bootstrap, you must choose one of the Less or Sass Starterkits, compile the +source code locally, and disable the "CDN Provider" theme setting. -{.alert.alert-warning} **Warning** All locally compiled versions of Bootstrap +{.alert.alert-warning} **WARNING:** All locally compiled versions of Bootstrap will be superseded by any enabled "CDN Provider"; **do not use both**. Once you've selected one of the above starterkits, here's how to install it: diff --git a/docs/Theme-Settings.md b/docs/Theme-Settings.md index 648955dd0d0cc305be3672690e70ed8832061630..fd1305f40cd5289374bad5ef169a7007200307d1 100644 --- a/docs/Theme-Settings.md +++ b/docs/Theme-Settings.md @@ -28,13 +28,8 @@ SETTING_NAME: SETTING_VALUE button_colorize -
-Adds classes to buttons based on their text value. -
-

-button_colorize: 1
-
-
+
Adds classes to buttons based on their text value.
+
button_colorize: 1
@@ -42,13 +37,8 @@ button_colorize: 1 button_iconize -
-Adds icons to buttons based on the text value -
-

-button_iconize: 1
-
-
+
Adds icons to buttons based on the text value
+
button_iconize: 1
@@ -56,13 +46,8 @@ button_iconize: 1 button_size -
-Defines the Bootstrap Buttons specific size -
-

-button_size: ''
-
-
+
Defines the Bootstrap Buttons specific size
+
button_size: ''
@@ -85,14 +70,8 @@ button_size: '' fluid_container -
-Uses the .container-fluid class instead of -.container. -
-

-fluid_container: 0
-
-
+
Uses the .container-fluid class instead of .container.
+
fluid_container: 0
@@ -115,14 +94,8 @@ fluid_container: 0 forms_has_error_value_toggle -
-If an element has a .has-error class attached to it, enabling -this will automatically remove that class when a value is entered. -
-

-forms_has_error_value_toggle: 1
-
-
+
If an element has a .has-error class attached to it, enabling this will automatically remove that class when a value is entered.
+
forms_has_error_value_toggle: 1
@@ -130,16 +103,8 @@ forms_has_error_value_toggle: 1 forms_required_has_error -
-If an element in a form is required, enabling this will always display the -element with a .has-error class. This turns the element red -and helps in usability for determining which form elements are required to -submit the form. -
-

-forms_required_has_error: 0
-
-
+
If an element in a form is required, enabling this will always display the element with a .has-error class. This turns the element red and helps in usability for determining which form elements are required to submit the form.
+
forms_required_has_error: 0
@@ -147,15 +112,8 @@ forms_required_has_error: 0 forms_smart_descriptions -
-Convert descriptions into tooltips (must be enabled) automatically based on -certain criteria. This helps reduce the, sometimes unnecessary, amount of -noise on a page full of form elements. -
-

-forms_smart_descriptions: 1
-
-
+
Convert descriptions into tooltips (must be enabled) automatically based on certain criteria. This helps reduce the, sometimes unnecessary, amount of noise on a page full of form elements.
+
forms_smart_descriptions: 1
@@ -163,15 +121,8 @@ forms_smart_descriptions: 1 forms_smart_descriptions_allowed_tags -
-Prevents descriptions from becoming tooltips by checking for HTML not in -the list above (i.e. links). Separate by commas. To disable this filtering -criteria, leave an empty value. -
-

-forms_smart_descriptions_allowed_tags: 'b, code, em, i, kbd, span, strong'
-
-
+
Prevents descriptions from becoming tooltips by checking for HTML not in the list above (i.e. links). Separate by commas. To disable this filtering criteria, leave an empty value.
+
forms_smart_descriptions_allowed_tags: 'b, code, em, i, kbd, span, strong'
@@ -179,15 +130,8 @@ forms_smart_descriptions_allowed_tags: 'b, code, em, i, kbd, span, strong' forms_smart_descriptions_limit -
-Prevents descriptions from becoming tooltips by checking the character -length of the description (HTML is not counted towards this limit). To -disable this filtering criteria, leave an empty value. -
-

-forms_smart_descriptions_limit: '250'
-
-
+
Prevents descriptions from becoming tooltips by checking the character length of the description (HTML is not counted towards this limit). To disable this filtering criteria, leave an empty value.
+
forms_smart_descriptions_limit: '250'
@@ -210,16 +154,8 @@ forms_smart_descriptions_limit: '250' image_responsive -
-Images in Bootstrap 3 can be made responsive-friendly via the addition of -the .img-responsive class. This applies max-width: -100%; and height: auto; to the image so that it scales -nicely to the parent element. -
-

-image_responsive: 1
-
-
+
Images in Bootstrap 3 can be made responsive-friendly via the addition of the .img-responsive class. This applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent element.
+
image_responsive: 1
@@ -227,14 +163,8 @@ image_responsive: 1 image_shape -
-Add classes to an <img> element to easily style images -in any project. -
-

-image_shape: ''
-
-
+
Add classes to an <img> element to easily style images in any project.
+
image_shape: ''
@@ -257,13 +187,8 @@ image_shape: '' table_bordered -
-Add borders on all sides of the table and cells. -
-

-table_bordered: 0
-
-
+
Add borders on all sides of the table and cells.
+
table_bordered: 0
@@ -271,13 +196,8 @@ table_bordered: 0 table_condensed -
-Make tables more compact by cutting cell padding in half. -
-

-table_condensed: 0
-
-
+
Make tables more compact by cutting cell padding in half.
+
table_condensed: 0
@@ -285,13 +205,8 @@ table_condensed: 0 table_hover -
-Enable a hover state on table rows. -
-

-table_hover: 1
-
-
+
Enable a hover state on table rows.
+
table_hover: 1
@@ -299,13 +214,8 @@ table_hover: 1 table_striped -
-Add zebra-striping to any table row within the <tbody>. -
-

-table_striped: 1
-
-
+
Add zebra-striping to any table row within the <tbody>.
+
table_striped: 1
@@ -313,18 +223,8 @@ table_striped: 1 table_responsive -
-Wraps tables with .table-responsive to make them horizontally -scroll when viewing them on devices under 768px. When viewing on devices -larger than 768px, you will not see a difference in the presentational -aspect of these tables. The Automatic option will only apply -this setting for front-end facing tables, not the tables in administrative -areas. -
-

-table_responsive: -1
-
-
+
Wraps tables with .table-responsive to make them horizontally scroll when viewing them on devices under 768px. When viewing on devices larger than 768px, you will not see a difference in the presentational aspect of these tables. The Automatic option will only apply this setting for front-end facing tables, not the tables in administrative areas.
+
table_responsive: -1
@@ -347,13 +247,8 @@ table_responsive: -1 breadcrumb -
-Show or hide the Breadcrumbs -
-

-breadcrumb: '1'
-
-
+
Show or hide the Breadcrumbs
+
breadcrumb: '1'
@@ -361,14 +256,8 @@ breadcrumb: '1' breadcrumb_home -
-If your site has a module dedicated to handling breadcrumbs already, ensure -this setting is enabled. -
-

-breadcrumb_home: 0
-
-
+
If your site has a module dedicated to handling breadcrumbs already, ensure this setting is enabled.
+
breadcrumb_home: 0
@@ -376,14 +265,8 @@ breadcrumb_home: 0 breadcrumb_title -
-If your site has a module dedicated to handling breadcrumbs already, ensure -this setting is disabled. -
-

-breadcrumb_title: 1
-
-
+
If your site has a module dedicated to handling breadcrumbs already, ensure this setting is disabled.
+
breadcrumb_title: 1
@@ -406,13 +289,8 @@ breadcrumb_title: 1 navbar_inverse -
-Select if you want the inverse navbar style. -
-

-navbar_inverse: 0
-
-
+
Select if you want the inverse navbar style.
+
navbar_inverse: 0
@@ -420,13 +298,8 @@ navbar_inverse: 0 navbar_position -
-Determines where the navbar is positioned on the page. -
-

-navbar_position: ''
-
-
+
Determines where the navbar is positioned on the page.
+
navbar_position: ''
@@ -449,12 +322,8 @@ navbar_position: '' region_wells -
-Enable the .well, .well-sm or -.well-lg classes for specified regions. -
-

-region_wells:
+      
Enable the .well, .well-sm or .well-lg classes for specified regions.
+
region_wells:
   navigation: ''
   navigation_collapsible: ''
   header: ''
@@ -463,9 +332,7 @@ region_wells:
   content: ''
   sidebar_first: ''
   sidebar_second: well
-  footer: ''
-
-
+ footer: ''
@@ -488,13 +355,7 @@ region_wells: modal_enabled -
- -
-

-modal_enabled: 1
-
-
+
modal_enabled: 1
@@ -502,16 +363,8 @@ modal_enabled: 1 modal_jquery_ui_bridge -
-Enabling this replaces the core/jquery.ui.dialog dependency in the -core/drupal.dialog library with a jQuery UI Dialog widget bridge. This -bridge adds support to Bootstrap Modals so that it may interpret jQuery UI -Dialog functionality. -
-

-modal_jquery_ui_bridge: 1
-
-
+
Enabling this replaces the core/jquery.ui.dialog dependency in the core/drupal.dialog library with a jQuery UI Dialog widget bridge. This bridge adds support to Bootstrap Modals so that it may interpret jQuery UI Dialog functionality.
+
modal_jquery_ui_bridge: 1
@@ -519,13 +372,8 @@ modal_jquery_ui_bridge: 1 modal_animation -
-Apply a CSS fade transition to modals. -
-

-modal_animation: 1
-
-
+
Apply a CSS fade transition to modals.
+
modal_animation: 1
@@ -533,14 +381,8 @@ modal_animation: 1 modal_backdrop -
-Includes a modal-backdrop element. Alternatively, specify -static for a backdrop which doesn't close the modal on click. -
-

-modal_backdrop: 'true'
-
-
+
Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
+
modal_backdrop: 'true'
@@ -548,15 +390,8 @@ modal_backdrop: 'true' modal_focus_input -
-Enabling this focuses on the first available and visible input found in the -modal after it's opened. If no element is found, the close button (if -visible) is focused instead. -
-

-modal_focus_input: 1
-
-
+
Enabling this focuses on the first available and visible input found in the modal after it's opened. If no element is found, the close button (if visible) is focused instead.
+
modal_focus_input: 1
@@ -564,13 +399,8 @@ modal_focus_input: 1 modal_keyboard -
-Closes the modal when escape key is pressed. -
-

-modal_keyboard: 1
-
-
+
Closes the modal when escape key is pressed.
+
modal_keyboard: 1
@@ -578,14 +408,8 @@ modal_keyboard: 1 modal_select_text -
-Enabling this selects the text of the first available and visible input -found after it has been focused. -
-

-modal_select_text: 1
-
-
+
Enabling this selects the text of the first available and visible input found after it has been focused.
+
modal_select_text: 1
@@ -593,13 +417,8 @@ modal_select_text: 1 modal_show -
-Shows the modal when initialized. -
-

-modal_show: 1
-
-
+
Shows the modal when initialized.
+
modal_show: 1
@@ -607,14 +426,8 @@ modal_show: 1 modal_size -
-Defines the modal size between the default, modal-sm and -modal-lg. -
-

-modal_size: ''
-
-
+
Defines the modal size between the default, modal-sm and modal-lg.
+
modal_size: ''
@@ -637,16 +450,8 @@ modal_size: '' popover_enabled -
-Elements that have the data-toggle="popover" -attribute set will automatically initialize the popover upon page load. -WARNING: This feature can sometimes impact -performance. Disable if pages appear to hang after initial load. -
-

-popover_enabled: 1
-
-
+
Elements that have the data-toggle="popover" attribute set will automatically initialize the popover upon page load. WARNING: This feature can sometimes impact performance. Disable if pages appear to hang after initial load.
+
popover_enabled: 1
@@ -654,13 +459,8 @@ popover_enabled: 1 popover_animation -
-Apply a CSS fade transition to the popover. -
-

-popover_animation: 1
-
-
+
Apply a CSS fade transition to the popover.
+
popover_animation: 1
@@ -668,15 +468,8 @@ popover_animation: 1 popover_auto_close -
-If enabled, the active popover will automatically close when it loses -focus, when a click occurs anywhere in the DOM (outside the popover), the -escape key (ESC) is pressed or when another popover is opened. -
-

-popover_auto_close: 1
-
-
+
If enabled, the active popover will automatically close when it loses focus, when a click occurs anywhere in the DOM (outside the popover), the escape key (ESC) is pressed or when another popover is opened.
+
popover_auto_close: 1
@@ -684,17 +477,8 @@ popover_auto_close: 1 popover_container -
-Appends the popover to a specific element. Example: body. This -option is particularly useful in that it allows you to position the popover -in the flow of the document near the triggering element - which will -prevent the popover from floating away from the triggering element during a -window resize. -
-

-popover_container: body
-
-
+
Appends the popover to a specific element. Example: body. This option is particularly useful in that it allows you to position the popover in the flow of the document near the triggering element - which will prevent the popover from floating away from the triggering element during a window resize.
+
popover_container: body
@@ -702,14 +486,8 @@ popover_container: body popover_content -
-Default content value if data-content or -data-target attributes are not present. -
-

-popover_content: ''
-
-
+
Default content value if data-content or data-target attributes are not present.
+
popover_content: ''
@@ -717,14 +495,8 @@ popover_content: '' popover_delay -
-The amount of time to delay showing and hiding the popover (in -milliseconds). Does not apply to manual trigger type. -
-

-popover_delay: '0'
-
-
+
The amount of time to delay showing and hiding the popover (in milliseconds). Does not apply to manual trigger type.
+
popover_delay: '0'
@@ -732,15 +504,8 @@ popover_delay: '0' popover_html -
-Insert HTML into the popover. If false, jQuery's text method will be used -to insert content into the DOM. Use text if you're worried about XSS -attacks. -
-

-popover_html: 0
-
-
+
Insert HTML into the popover. If false, jQuery's text method will be used to insert content into the DOM. Use text if you're worried about XSS attacks.
+
popover_html: 0
@@ -748,16 +513,8 @@ popover_html: 0 popover_placement -
-Where to position the popover. When auto is specified, it will -dynamically reorient the popover. For example, if placement is auto -left, the popover will display to the left when possible, otherwise -it will display right. -
-

-popover_placement: right
-
-
+
Where to position the popover. When auto is specified, it will dynamically reorient the popover. For example, if placement is auto left, the popover will display to the left when possible, otherwise it will display right.
+
popover_placement: right
@@ -765,15 +522,8 @@ popover_placement: right popover_selector -
-If a selector is provided, tooltip objects will be delegated to the -specified targets. In practice, this is used to enable dynamic HTML content -to have popovers added. -
-

-popover_selector: ''
-
-
+
If a selector is provided, tooltip objects will be delegated to the specified targets. In practice, this is used to enable dynamic HTML content to have popovers added.
+
popover_selector: ''
@@ -781,13 +531,8 @@ popover_selector: '' popover_title -
-Default title value if title attribute isn't present. -
-

-popover_title: ''
-
-
+
Default title value if title attribute isn't present.
+
popover_title: ''
@@ -795,13 +540,8 @@ popover_title: '' popover_trigger -
-How a popover is triggered. -
-

-popover_trigger: click
-
-
+
How a popover is triggered.
+
popover_trigger: click
@@ -809,14 +549,8 @@ popover_trigger: click popover_trigger_autoclose -
-Will automatically close the current popover if a click occurs anywhere -else other than the popover element. -
-

-popover_trigger_autoclose: 1
-
-
+
Will automatically close the current popover if a click occurs anywhere else other than the popover element.
+
popover_trigger_autoclose: 1
@@ -839,17 +573,8 @@ popover_trigger_autoclose: 1 tooltip_enabled -
-Elements that have the data-toggle="tooltip" -attribute set will automatically initialize the tooltip upon page load. -WARNING: This feature can sometimes impact -performance. Disable if pages appear to "hang" after initial -load. -
-

-tooltip_enabled: 1
-
-
+
Elements that have the data-toggle="tooltip" attribute set will automatically initialize the tooltip upon page load. WARNING: This feature can sometimes impact performance. Disable if pages appear to "hang" after initial load.
+
tooltip_enabled: 1
@@ -857,13 +582,8 @@ tooltip_enabled: 1 tooltip_animation -
-Apply a CSS fade transition to the tooltip. -
-

-tooltip_animation: 1
-
-
+
Apply a CSS fade transition to the tooltip.
+
tooltip_animation: 1
@@ -871,13 +591,8 @@ tooltip_animation: 1 tooltip_container -
-Appends the tooltip to a specific element. Example: body. -
-

-tooltip_container: body
-
-
+
Appends the tooltip to a specific element. Example: body.
+
tooltip_container: body
@@ -885,14 +600,8 @@ tooltip_container: body tooltip_delay -
-The amount of time to delay showing and hiding the tooltip (in -milliseconds). Does not apply to manual trigger type. -
-

-tooltip_delay: '0'
-
-
+
The amount of time to delay showing and hiding the tooltip (in milliseconds). Does not apply to manual trigger type.
+
tooltip_delay: '0'
@@ -900,15 +609,8 @@ tooltip_delay: '0' tooltip_html -
-Insert HTML into the tooltip. If false, jQuery's text method will be used -to insert content into the DOM. Use text if you're worried about XSS -attacks. -
-

-tooltip_html: 0
-
-
+
Insert HTML into the tooltip. If false, jQuery's text method will be used to insert content into the DOM. Use text if you're worried about XSS attacks.
+
tooltip_html: 0
@@ -916,16 +618,8 @@ tooltip_html: 0 tooltip_placement -
-Where to position the tooltip. When auto is specified, it will -dynamically reorient the tooltip. For example, if placement is auto -left, the tooltip will display to the left when possible, otherwise -it will display right. -
-

-tooltip_placement: 'auto left'
-
-
+
Where to position the tooltip. When auto is specified, it will dynamically reorient the tooltip. For example, if placement is auto left, the tooltip will display to the left when possible, otherwise it will display right.
+
tooltip_placement: 'auto left'
@@ -933,14 +627,8 @@ tooltip_placement: 'auto left' tooltip_selector -
-If a selector is provided, tooltip objects will be delegated to the -specified targets. -
-

-tooltip_selector: ''
-
-
+
If a selector is provided, tooltip objects will be delegated to the specified targets.
+
tooltip_selector: ''
@@ -948,13 +636,8 @@ tooltip_selector: '' tooltip_trigger -
-How a tooltip is triggered. -
-

-tooltip_trigger: hover
-
-
+
How a tooltip is triggered.
+
tooltip_trigger: hover
@@ -977,13 +660,8 @@ tooltip_trigger: hover cdn_provider -
-Choose the CDN Provider used to load Bootstrap resources. -
-

-cdn_provider: jsdelivr
-
-
+
Choose the CDN Provider used to load Bootstrap resources.
+
cdn_provider: jsdelivr
@@ -991,15 +669,8 @@ cdn_provider: jsdelivr cdn_custom_css -
-It is best to use https protocols here as it will allow more -flexibility if the need ever arises. -
-

-cdn_custom_css:
-'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.css'
-
-
+
It is best to use https protocols here as it will allow more flexibility if the need ever arises.
+
cdn_custom_css: 'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.css'
@@ -1007,15 +678,8 @@ cdn_custom_css: cdn_custom_css_min -
-Additionally, you can provide the minimized version of the file. It will be -used instead if site aggregation is enabled. -
-

-cdn_custom_css_min:
-'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css'
-
-
+
Additionally, you can provide the minimized version of the file. It will be used instead if site aggregation is enabled.
+
cdn_custom_css_min: 'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css'
@@ -1023,15 +687,8 @@ cdn_custom_css_min: cdn_custom_js -
-It is best to use https protocols here as it will allow more -flexibility if the need ever arises. -
-

-cdn_custom_js:
-'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.js'
-
-
+
It is best to use https protocols here as it will allow more flexibility if the need ever arises.
+
cdn_custom_js: 'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.js'
@@ -1039,15 +696,8 @@ cdn_custom_js: cdn_custom_js_min -
-Additionally, you can provide the minimized version of the file. It will be -used instead if site aggregation is enabled. -
-

-cdn_custom_js_min:
-'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js'
-
-
+
Additionally, you can provide the minimized version of the file. It will be used instead if site aggregation is enabled.
+
cdn_custom_js_min: 'https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js'
@@ -1055,13 +705,8 @@ cdn_custom_js_min: cdn_jsdelivr_version -
-Choose the Bootstrap version from jsdelivr -
-

-cdn_jsdelivr_version: 3.4.1
-
-
+
Choose the Bootstrap version from jsdelivr
+
cdn_jsdelivr_version: 3.4.1
@@ -1069,14 +714,8 @@ cdn_jsdelivr_version: 3.4.1 cdn_jsdelivr_theme -
-Choose the example Bootstrap Theme provided by Bootstrap or one of the -Bootswatch themes. -
-

-cdn_jsdelivr_theme: bootstrap
-
-
+
Choose the example Bootstrap Theme provided by Bootstrap or one of the Bootswatch themes.
+
cdn_jsdelivr_theme: bootstrap
@@ -1099,14 +738,8 @@ cdn_jsdelivr_theme: bootstrap include_deprecated -
-Enabling this setting will include any deprecated.php file -found in your theme or base themes. -
-

-include_deprecated: 0
-
-
+
Enabling this setting will include any deprecated.php file found in your theme or base themes.
+
include_deprecated: 0
@@ -1114,17 +747,8 @@ include_deprecated: 0 suppress_deprecated_warnings -
-Enable this setting if you wish to suppress deprecated warning messages. -WARNING: Suppressing these messages does -not "fix" the problem and you will inevitably encounter issues -when they are removed in future updates. Only use this setting in extreme -and necessary circumstances. -
-

-suppress_deprecated_warnings: 0
-
-
+
Enable this setting if you wish to suppress deprecated warning messages. WARNING: Suppressing these messages does not "fix" the problem and you will inevitably encounter issues when they are removed in future updates. Only use this setting in extreme and necessary circumstances.
+
suppress_deprecated_warnings: 0
diff --git a/src/Plugin/Setting/JavaScript/Tooltips/TooltipEnabled.php b/src/Plugin/Setting/JavaScript/Tooltips/TooltipEnabled.php index 8d53026c3448d93944a6de4fce13dc1126b6988b..23450c20d751e16a67a4d56ffa2795413f3d99dd 100644 --- a/src/Plugin/Setting/JavaScript/Tooltips/TooltipEnabled.php +++ b/src/Plugin/Setting/JavaScript/Tooltips/TooltipEnabled.php @@ -15,7 +15,7 @@ use Drupal\Core\Form\FormStateInterface; * id = "tooltip_enabled", * type = "checkbox", * title = @Translation("Enable Bootstrap Tooltips"), - * description = @Translation("Elements that have the data-toggle="e;tooltip"e; attribute set will automatically initialize the tooltip upon page load. WARNING: This feature can sometimes impact performance. Disable if pages appear to "e;hang"e; after initial load."), + * description = @Translation("Elements that have the data-toggle="tooltip" attribute set will automatically initialize the tooltip upon page load. WARNING: This feature can sometimes impact performance. Disable if pages appear to "hang" after initial load."), * defaultValue = 1, * weight = -1, * groups = {