Skip to content

Instantly share code, notes, and snippets.

@cyberlex404
Created September 8, 2017 20:34
Show Gist options
  • Select an option

  • Save cyberlex404/efb18a2f4e2de8738a0838e4794c0e5d to your computer and use it in GitHub Desktop.

Select an option

Save cyberlex404/efb18a2f4e2de8738a0838e4794c0e5d to your computer and use it in GitHub Desktop.
<?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 {
}
@cyberlex404
Copy link
Copy Markdown
Author

<div class="col-md-12 f-screen-label"><h3 class="text-center"> {{ theme.settings.pwt_first_screen_label|trans }} </h3></div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment