You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Panels-based plugin that wraps a PatternLab library of components.
3
+
4
+
This code will parse a pattern library (local or through REST endpoints) to generate a list of "content types" in panels that can be drag/dropped into panel variants.
2
5
3
-
Panels based plugin that wraps a pattern-builder/patternkit library of components.
4
-
This code will hit the patternkit RESTful endpoints to generate a list of "content types" in panels that can be drag/dropped into panel variants. The configuration screen is simply an iframe wrapper of a simplified version of the patternkit schema builder.
6
+
If enabled, the configuration screen is simply an iframe wrapper of a simplified version of the PatternLab schema builder.
5
7
6
8
When pattern configurations are saved, the template is downloaded locally (to mitigate origin failures and lock in version at time of configuration.)
7
9
8
10
Rendered twigs may contain drupal tokens, which are then processed in context.
9
11
10
12
## Important Variables
11
-
12
-
* pkplugins_cache_enabled - Whether or not the metadata and render cache are enabled. (Disable during development)
13
-
* pkplugins_pk_host - The scheme://hostname:port/ of the patternkit library host.
14
-
* pkplugins_default_module_ttl - How long the rendered pattern should be cached.
15
-
* pkplugins_show_errors - Whether or not to display messages on the site.
16
-
* pkplugins_log_errors - Whether or not to log errors to php error log.
13
+
* patternkit_cache_enabled - Whether or not the metadata and render cache are enabled. (Disable during development)
14
+
* patternkit_pl_host - The scheme://hostname:port/ of the PatternLab library host.
15
+
* patternkit_default_module_ttl - How long the rendered pattern should be cached.
16
+
* patternkit_show_errors - Whether or not to display messages on the site.
17
+
* patternkit_log_errors - Whether or not to log errors to php error log.
17
18
18
19
## TODOs
19
-
20
+
*https://github.com/drupal-pattern-lab/roadmap/issues/8 Solve the problem of mapping Drupal fields to pattern Variables.
20
21
* Error handling.
21
22
* Better information about available tokens.
22
23
* More investigation into the appropriate handling of web component configuration.
0 commit comments