0f906629e5ba7c23b68e87da2615a7af86bf6d40
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Setting / General / Images / ImageResponsive.php
1 <?php
2
3 namespace Drupal\bootstrap\Plugin\Setting\General\Images;
4
5 use Drupal\bootstrap\Plugin\Setting\SettingBase;
6
7 /**
8  * The "image_responsive" theme setting.
9  *
10  * @ingroup plugins_setting
11  *
12  * @BootstrapSetting(
13  *   id = "image_responsive",
14  *   type = "checkbox",
15  *   title = @Translation("Responsive Images"),
16  *   description = @Translation("Images in Bootstrap 3 can be made responsive-friendly via the addition of the <code>.img-responsive</code> class. This applies <code>max-width: 100%;</code> and <code>height: auto;</code> to the image so that it scales nicely to the parent element."),
17  *   defaultValue = 1,
18  *   groups = {
19  *     "general" = @Translation("General"),
20  *     "images" = @Translation("Images"),
21  *   },
22  * )
23  */
24 class ImageResponsive extends SettingBase {}