4 * Contains \Drupal\bootstrap\Plugin\Setting\General\Tables\TableResponsive.
7 namespace Drupal\bootstrap\Plugin\Setting\General\Tables;
9 use Drupal\bootstrap\Annotation\BootstrapSetting;
10 use Drupal\bootstrap\Plugin\Setting\SettingBase;
11 use Drupal\Core\Annotation\Translation;
14 * The "table_responsive" theme setting.
16 * @ingroup plugins_setting
19 * id = "table_responsive",
21 * title = @Translation("Responsive tables"),
22 * 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."),
26 * "general" = @Translation("General"),
27 * "tables" = @Translation("Tables"),
30 * "-1" = @Translation("Automatic"),
31 * "0" = @Translation("Disabled"),
32 * "1" = @Translation("Enabled"),
36 class TableResponsive extends SettingBase {}