From 6a00fc64c12461837ed432ace705e8e01a8c90f6 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 14 Apr 2023 06:58:16 +0200 Subject: [PATCH] add colors --- docs/crud/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/crud/configuration.md b/docs/crud/configuration.md index cb7aefb..5e63425 100644 --- a/docs/crud/configuration.md +++ b/docs/crud/configuration.md @@ -223,7 +223,7 @@ Compatible with [https://github.com/KnpLabs/DoctrineBehaviors/blob/master/docs/t Set the default sort applied in the repository query. -``` +```php-inline $configuration ->setDefaultSort('index', 'title', 'asc') ->setField('index', 'Title', Field\TextField::class, [ @@ -238,7 +238,7 @@ $configuration It enables the drag & drop to sort entities. -``` +```php-inline class MyEntity implements EntityInterface { // ...