add boolean field
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-07-28 09:18:01 +02:00
parent f00c607115
commit 871e17d232
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -204,6 +204,14 @@ $configuration->setField('index', 'My field', TextField::class, [
| `view` | `string` | `@Core/admin/crud/field/image.html.twig` | The templated rendered |
| `image_attr` | `array` | `[]` | Image HTML attributes |
### BooleanField
`App\Core\Crud\Field\BooleanField`
| Option | Type | Default | Description |
| ------ | ---- | ------- | ----------- |
| `view` | `string` | `@Core/admin/crud/field/boolean.html.twig` | The templated rendered |
## setMaxPerPage
`setMaxPerPage(string $page, int $max)`