background_image.settings.yml in Background Image 2.x
Same filename and directory in other branches
config/install/background_image.settings.yml
3 string references to 'background_image.settings'
- BackgroundImageManager::__construct in src/
BackgroundImageManager.php - BackgroundImageManager constructor.
- BackgroundImageSettingsForm::buildForm in src/
Form/ BackgroundImageSettingsForm.php - Form constructor.
- BackgroundImageSettingsForm::getEditableConfigNames in src/
Form/ BackgroundImageSettingsForm.php - Gets the configuration names that will be editable.
File
config/install/background_image.settings.ymlView source
- defaults:
- blur:
- type: 2
- radius: 50
- speed: 1
- dark: false
- full_viewport: false
- preload:
- background_color: '#ffffff'
- text:
- format: full_html
- value: ''
-
- entities:
- node:
- article:
- enable: true
- embed: true
- require: false
- group: advanced
- page:
- enable: true
- embed: true
- require: false
- group: advanced
- user:
- user:
- enable: true
- embed: true
- require: false
- group: advanced
- view:
- view:
- enable: true
- embed: true
- require: false
- group: advanced
-
- # @todo Make configurable in \Drupal\background_image\Form\BackgroundImageSettingsForm.
- css:
- base_class: 'background-image'
- retina_rules:
- - 'only screen and (-webkit-min-device-pixel-ratio:2)'
- - 'only screen and (min--moz-device-pixel-ratio:2)'
- - 'only screen and (-o-min-device-pixel-ratio:2/1)'
- - 'only screen and (min-device-pixel-ratio:2)'
- - 'only screen and (min-resolution: 192dpi)'
- - 'only screen and (min-resolution: 2dppx)'
-
- image_style:
- preload: background_image_preload
- fallback: background_image_lg
- responsive: background_image