PopoverTitle.php in Express 8
File
themes/contrib/bootstrap/src/Plugin/Setting/JavaScript/Popovers/PopoverTitle.phpView source
<?php
/**
* @file
* Contains \Drupal\bootstrap\Plugin\Setting\JavaScript\Popovers\PopoverTitle.
*/
namespace Drupal\bootstrap\Plugin\Setting\JavaScript\Popovers;
use Drupal\bootstrap\Annotation\BootstrapSetting;
use Drupal\bootstrap\Plugin\Setting\SettingBase;
use Drupal\Core\Annotation\Translation;
/**
* The "popover_title" theme setting.
*
* @ingroup plugins_setting
*
* @BootstrapSetting(
* id = "popover_title",
* type = "textfield",
* title = @Translation("title"),
* description = @Translation("Default title value if <code>title</code> attribute isn't present."),
* defaultValue = "",
* groups = {
* "javascript" = @Translation("JavaScript"),
* "popovers" = @Translation("Popovers"),
* "options" = @Translation("Options"),
* },
* )
*/
class PopoverTitle extends SettingBase {
/**
* {@inheritdoc}
*/
public function drupalSettings() {
return !!$this->theme
->getSetting('popover_enabled');
}
}
Classes
Name | Description |
---|---|
PopoverTitle | The "popover_title" theme setting. |