Created
September 8, 2017 20:34
-
-
Save cyberlex404/efb18a2f4e2de8738a0838e4794c0e5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\pureworld\Plugin\Setting\Pureworld\FirstScreen. | |
| */ | |
| namespace Drupal\pureworld\Plugin\Setting\Pureworld\FirstScreen; | |
| use Drupal\bootstrap\Plugin\Setting\SettingBase; | |
| /** | |
| * The "pwt_first_screen_label" theme setting. | |
| * | |
| * @ingroup plugins_setting | |
| * | |
| * @BootstrapSetting( | |
| * id = "pwt_first_screen_label", | |
| * type = "textfield", | |
| * title = @Translation("First screen label"), | |
| * defaultValue = "Why us?", | |
| * description = @Translation("First screen label value."), | |
| * groups = { | |
| * "pureworld" = @Translation("Pureworld"), | |
| * "firstscreen" = @Translation("First Screen"), | |
| * }, | |
| * ) | |
| */ | |
| class FirstScreenLabel extends SettingBase { | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<div class="col-md-12 f-screen-label"><h3 class="text-center"> {{ theme.settings.pwt_first_screen_label|trans }} </h3></div>