file ButtonIconize.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_iconize" theme setting.
  6. *
  7. * @ingroup plugins_setting
  8. *
  9. * @BootstrapSetting(
  10. * id = "button_iconize",
  11. * type = "checkbox",
  12. * title = @Translation("Iconize Buttons"),
  13. * defaultValue = 1,
  14. * description = @Translation("Adds icons to buttons based on the text value"),
  15. * groups = {
  16. * "general" = @Translation("General"),
  17. * "button" = @Translation("Buttons"),
  18. * },
  19. * see = {
  20. * "https://drupal-bootstrap.org/apis/hook_bootstrap_iconize_text_alter" = @Translation("hook_bootstrap_iconize_text_alter()"),
  21. * },
  22. * )
  23. */
  24. class ButtonIconize extends SettingBase {}

Classes

Name Description
ButtonIconize The "button_iconize" theme setting.