File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ composer require bnomei/kirby-blueprints
3535
3636This plugin introduces two new ways to define blueprints for Kirby.
3737
38+ <div >
3839<div style =" width : 50% ; float : left ; padding-right : 1vw ;" >
3940
4041### Fluent & Named Helper Classes
@@ -54,16 +55,17 @@ Define blueprints for pages in PageModels and use public properties with PHP att
5455
5556** site/plugins/example/models/ArticlePage.php**
5657``` php
57- #[
58- Label([
59- 'en' => 'Introduction',
60- 'de' => 'Einleitung',
61- ]),
62- Type(FieldTypes::TEXT),
63- ]
64- public Field $introduction;
58+ #[
59+ Label([
60+ 'en' => 'Introduction',
61+ 'de' => 'Einleitung',
62+ ]),
63+ Type(FieldTypes::TEXT),
64+ ]
65+ public Field $introduction;
6566```
6667</div >
68+ </div >
6769
6870## Blueprint definitions from Files
6971
You can’t perform that action at this time.
0 commit comments