Skip to content

Commit 2a4350d

Browse files
committed
adding support for defaultShowPatternInfo
1 parent 9537dc5 commit 2a4350d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

config/config.yml.default

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ sourceDir: "source"
4040

4141
# defaultPattern to show on load
4242
defaultPattern: "all"
43+
44+
# show pattern info by default on the "view all" views
45+
defaultShowPatternInfo: true

src/PatternLab/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ public static function init($baseDir = "", $verbose = true) {
236236
self::$options["exposedOptions"] = array();
237237
self::setExposedOption("cacheBuster");
238238
self::setExposedOption("defaultPattern");
239+
self::setExposedOption("defaultShowPatternInfo");
239240
self::setExposedOption("ishFontSize");
240241
self::setExposedOption("ishMaximum");
241242
self::setExposedOption("ishMinimum");

0 commit comments

Comments
 (0)