94ecbed6e69b4e478d744f21e32a18f6639ec6dc
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Setting / General / Tables / TableResponsive.php
1 <?php
2
3 namespace Drupal\bootstrap\Plugin\Setting\General\Tables;
4
5 use Drupal\bootstrap\Plugin\Setting\SettingBase;
6
7 /**
8  * The "table_responsive" theme setting.
9  *
10  * @ingroup plugins_setting
11  *
12  * @BootstrapSetting(
13  *   id = "table_responsive",
14  *   type = "select",
15  *   title = @Translation("Responsive tables"),
16  *   description = @Translation("Wraps tables with <code>.table-responsive</code> 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 <code>Automatic</code> option will only apply this setting for front-end facing tables, not the tables in administrative areas."),
17  *   defaultValue = -1,
18  *   weight = 1,
19  *   groups = {
20  *     "general" = @Translation("General"),
21  *     "tables" = @Translation("Tables"),
22  *   },
23  *   options = {
24  *     "-1" = @Translation("Automatic"),
25  *     "0" = @Translation("Disabled"),
26  *     "1" = @Translation("Enabled"),
27  *   },
28  * )
29  */
30 class TableResponsive extends SettingBase {}