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
$f->description = 'Choose which built in `Page` fields you wish to be available via GraphQL api.';
230
+
$f->label = 'Page Fields';
231
+
$f->description = 'Choose which built in `Page` fields you want to be served via GraphQL api.';
232
232
$f->notes = 'Be careful with fields like `parents` & `children` that will allow user to construct deeply nested queries that might be very expensive for your server to fulfill.';
233
233
foreach (PageType::getBuiltInFields() as$field) {
234
234
$f->addOption($field['name']);
235
235
}
236
236
$inputfields->add($f);
237
237
238
238
// legalPageFileFields
239
-
$f = $this->modules->get('InputfieldCheckboxes');
239
+
$f = $this->modules->get('InputfieldAsmSelect');
240
240
$f->optionColumns = 4;
241
241
$f->attr('name', 'legalPageFileFields');
242
-
$f->label = 'Legal PageFile Fields';
243
-
$f->description = 'Choose which built in `PageFile` fields you wish to be available via GraphQL api.';
242
+
$f->label = 'PageFile Fields';
243
+
$f->description = 'Choose which built in `PageFile` fields you want to be served via GraphQL api.';
244
244
$f->notes = 'These fields are also inherited by `PageImage`.';
245
245
foreach (FileType::getBuiltInFields() as$field) {
246
246
$f->addOption($field['name']);
247
247
}
248
248
$inputfields->add($f);
249
249
250
250
// legalPageImageFields
251
-
$f = $this->modules->get('InputfieldCheckboxes');
251
+
$f = $this->modules->get('InputfieldAsmSelect');
252
252
$f->optionColumns = 4;
253
253
$f->attr('name', 'legalPageImageFields');
254
-
$f->label = 'Legal PageImage Fields';
255
-
$f->description = 'Choose which built in `PageImage` fields you wish to be available via GraphQL api.';
254
+
$f->label = 'PageImage Fields';
255
+
$f->description = 'Choose which built in `PageImage` fields you want to be served via GraphQL api.';
0 commit comments