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
@@ -44,7 +44,7 @@ class ProductList extends SharpEntityList
44
44
)
45
45
->addField(/* ... */);
46
46
}
47
-
// [...]
47
+
// ...
48
48
}
49
49
```
50
50
@@ -103,7 +103,7 @@ class ProductList extends SharpEntityList
103
103
]
104
104
];
105
105
}
106
-
// [...]
106
+
// ...
107
107
}
108
108
```
109
109
@@ -229,7 +229,7 @@ Here is the full list of available methods:
229
229
230
230
-`configureDefaultSort(string $sortBy, string $sortDir = "asc")`: `EntityListQueryParams $queryParams` will be filled with this default value (see above)
231
231
232
-
-`configureEntityMap(string $attribute, EntityListEntities $entities)`: configure an Entity Map to display multiple entities in a single Entity List; [see detailed section](#entity-map)above.
232
+
-`configureEntityMap(string $attribute, EntityListEntities $entities)`: configure an Entity Map to display multiple entities in a single Entity List; [see detailed section](#entity-map)below.
@@ -239,7 +239,7 @@ Here is the full list of available methods:
239
239
240
240
-`configureQuickCreationForm(?array $fields = null)`: show the creation form in a modal instead of a full page ([see detailed doc](quick-creation-form.md))
241
241
242
-
-`configureDelete(bool $hide = false, ?string $onfirmationText = null)`: the first argument is to show / hide the delete command on each instance (shown by default); this is only useful to hide the link if you want to only display the delete action in the Show Page (if you have defined one), this is NOT to be used for authorization purpose (see [dedicated documentation on this topic](entity-authorizations.md)). The second argument is the message to display in the confirmation dialog (a sensible default will be used).
242
+
-`configureDelete(bool $hide = false, ?string $confirmationText = null)`: the first argument is to show / hide the delete command on each instance (shown by default); this is only useful to hide the link if you want to only display the delete action in the Show Page (if you have defined one), this is NOT to be used for authorization purpose (see [dedicated documentation on this topic](entity-authorizations.md)). The second argument is the message to display in the confirmation dialog (a sensible default will be used).
243
243
244
244
-`configureCreateButtonLabel(string $label)` to set a custom "New..." button label.
Copy file name to clipboardExpand all lines: docs/guide/building-menu.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ class SharpServiceProvider extends SharpAppServiceProvider
41
41
```
42
42
43
43
::: info
44
-
The `SharpServiceProvider` class is created bye the `sharp:install` artisan command; in case you don't have it, you can create it by yourself in the `App\Providers` namespace, or use the `sharp:make:provider` command.
44
+
The `SharpServiceProvider` class is created by the `sharp:install` artisan command; in case you don't have it, you can create it by yourself in the `App\Providers` namespace, or use the `sharp:make:provider` command.
45
45
:::
46
46
47
47
### Link to an Entity List, a Dashboard or to a single Show Page
0 commit comments