You are here

constant BANNER_DEFAULT_BANNER_MODE in Dynamic Banner 8

Same name and namespace in other branches
  1. 7.2 dynamic_banner.module \BANNER_DEFAULT_BANNER_MODE
  2. 7 dynamic_banner.module \BANNER_DEFAULT_BANNER_MODE
  3. 8.x dynamic_banner.module \BANNER_DEFAULT_BANNER_MODE
2 uses of BANNER_DEFAULT_BANNER_MODE
AddBannerForm::buildForm in src/forms/AddBannerForm.php
Form constructor.
AddBannerForm::dynamic_banner_set_banner in src/forms/AddBannerForm.php
Set a banner for a given path, preventing duplicates. Note if dbid comes in null then we are creating a banner

File

./dynamic_banner.module, line 26
Distributed under GNU GPL version 3

Code

define('BANNER_DEFAULT_BANNER_MODE', \Drupal::config('dynamic_banner.settings')
  ->get('dynamic_banner_mode'));