bootstrap-8.x-3.23/src/Plugin/Setting/General/Buttons/ButtonColorize.php

src/Plugin/Setting/General/Buttons/ButtonColorize.php
<?php

namespace Drupal\bootstrap\Plugin\Setting\General\Buttons;

use Drupal\bootstrap\Plugin\Setting\SettingBase;

/**
 * The "button_colorize" theme setting.
 *
 * @ingroup plugins_setting
 *
 * @BootstrapSetting(
 *   id = "button_colorize",
 *   type = "checkbox",
 *   title = @Translation("Colorize Buttons"),
 *   defaultValue = 1,
 *   description = @Translation("Adds classes to buttons based on their text value."),
 *   groups = {
 *     "general" = @Translation("General"),
 *     "button" = @Translation("Buttons"),
 *   },
 *   see = {
 *     "https://getbootstrap.com/docs/3.4/css/#buttons" = @Translation("Buttons"),
 *     "https://drupal-bootstrap.org/apis/hook_bootstrap_colorize_text_alter" = @Translation("hook_bootstrap_colorize_text_alter()"),
 *   },
 * )
 */
class ButtonColorize extends SettingBase {}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc