Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ui_patterns
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ui_patterns
Commits
3df6bc72
Commit
3df6bc72
authored
7 years ago
by
Antonio De Marco
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#181
: Update documentation.
parent
4b97af5e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/content/patterns-definition.rst
+3
-3
3 additions, 3 deletions
docs/content/patterns-definition.rst
with
3 additions
and
3 deletions
docs/content/patterns-definition.rst
+
3
−
3
View file @
3df6bc72
...
...
@@ -54,9 +54,9 @@ Let's break this down:
``label``
Pattern label, used on pattern library page.
``description``
Pattern description, used on pattern library page.
Pattern description
(optional)
, used on pattern library page.
``fields``
Hash defining the pattern fields. Each field must have the following properties defined below.
Hash defining the pattern fields
(optional)
. Each field must have the following properties defined below.
``type``
Field type, can be ``text``, ``numeric``, etc. at the moment only used for documentation purposes.
...
...
@@ -69,7 +69,7 @@ Let's break this down:
we can use keys like ``type: processed_text`` or ``theme: image``.
``libraries``
List of libraries to be loaded when rendering the pattern. UI patterns are supposed to be self-contained so they
List of libraries to be loaded when rendering the pattern
(optional)
. UI patterns are supposed to be self-contained so they
should define along all needed libraries.
Once the pattern is defined the module will expose them as standard Drupal theme definitions.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment