3 namespace Drupal\bootstrap\Plugin\Setting\General\Tables;
5 use Drupal\bootstrap\Plugin\Setting\SettingBase;
8 * The "table_responsive" theme setting.
10 * @ingroup plugins_setting
13 * id = "table_responsive",
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."),
20 * "general" = @Translation("General"),
21 * "tables" = @Translation("Tables"),
24 * "-1" = @Translation("Automatic"),
25 * "0" = @Translation("Disabled"),
26 * "1" = @Translation("Enabled"),
30 class TableResponsive extends SettingBase {}