File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function getName()
1616
1717 public function getDescription ()
1818 {
19- return 'A WireArray that stores PageTypes ' ;
19+ return 'A WireArray that stores Pages ' ;
2020 }
2121
2222 public function build ($ config )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function build($config)
4141 $ config ->applyInterface (new PageInterfaceType ());
4242 foreach ($ this ->template ->fields as $ field ) {
4343 if (!$ legalFields ->has ($ field )) continue ;
44- if ($ field ->flags & Field::flagGlobal) continue ; // global fields are already added via PageTypeInterface
44+ if ($ field ->flags & Field::flagGlobal) continue ; // global fields are already added via PageInterfaceType
4545 $ className = "\\ProcessWire \\GraphQL \\Field \\Page \\Fieldtype \\" . $ field ->type ->className ();
4646 if (!class_exists ($ className )) continue ;
4747 $ config ->addField (new $ className ($ field ));
You can’t perform that action at this time.
0 commit comments