Version 1
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Setting / General / Images / ImageShape.php
1 <?php
2 /**
3  * @file
4  * Contains \Drupal\bootstrap\Plugin\Setting\General\Images\ImageShape.
5  */
6
7 namespace Drupal\bootstrap\Plugin\Setting\General\Images;
8
9 use Drupal\bootstrap\Annotation\BootstrapSetting;
10 use Drupal\bootstrap\Plugin\Setting\SettingBase;
11 use Drupal\Core\Annotation\Translation;
12
13 /**
14  * The "image_shape" theme setting.
15  *
16  * @ingroup plugins_setting
17  *
18  * @BootstrapSetting(
19  *   id = "image_shape",
20  *   type = "select",
21  *   title = @Translation("Default image shape"),
22  *   description = @Translation("Add classes to an <code>&lt;img&gt;</code> element to easily style images in any project."),
23  *   defaultValue = "",
24  *   empty_option = @Translation("None"),
25  *   groups = {
26  *     "general" = @Translation("General"),
27  *     "images" = @Translation("Images"),
28  *   },
29  *   options = {
30  *     "img-rounded" = @Translation("Rounded"),
31  *     "img-circle" = @Translation("Circle"),
32  *     "img-thumbnail" = @Translation("Thumbnail"),
33  *   },
34  *   see = {
35  *     "http://getbootstrap.com/css/#images-shapes" = @Translation("Image Shapes"),
36  *   },
37  * )
38  */
39 class ImageShape extends SettingBase {}