file ButtonColorize.php

Namespace

Drupal\bootstrap\Plugin\Setting\General\Buttons
  1. <?php
  2. namespace Drupal\bootstrap\Plugin\Setting\General\Buttons;
  3. use Drupal\bootstrap\Plugin\Setting\SettingBase;
  4. /**
  5. * The "button_colorize" theme setting.
  6. *
  7. * @ingroup plugins_setting
  8. *
  9. * @BootstrapSetting(
  10. * id = "button_colorize",
  11. * type = "checkbox",
  12. * title = @Translation("Colorize Buttons"),
  13. * defaultValue = 1,
  14. * description = @Translation("Adds classes to buttons based on their text value."),
  15. * groups = {
  16. * "general" = @Translation("General"),
  17. * "button" = @Translation("Buttons"),
  18. * },
  19. * see = {
  20. * "https://getbootstrap.com/docs/3.4/css/#buttons" = @Translation("Buttons"),
  21. * "https://drupal-bootstrap.org/apis/hook_bootstrap_colorize_text_alter" = @Translation("hook_bootstrap_colorize_text_alter()"),
  22. * },
  23. * )
  24. */
  25. class ButtonColorize extends SettingBase {}

Classes

Name Description
ButtonColorize The "button_colorize" theme setting.