Joffrey JAFFEUX
c197daa04c
DEV: allows to alter category name/description ( #28263 )
...
This commit adds two new getters to the category model:
- `displayName`
- `descriptionText`
These getters are used instead of `name` and `description_text` where appropriate.
On top of this two transformers have been added to allow plugins to alter these getters:
```javascript
api.registerValueTransformer(
"category-display-name",
({ value, context }) =>
value + "-" + context.category.id + "-transformed"
);
```
```javascript
api.registerValueTransformer(
"category-description-text",
({ value, context }) =>
value + "-" + context.category.id + "-transformed"
);
```
2024-08-08 17:33:23 +02:00
..
2023-11-13 10:46:15 -05:00
2023-10-10 21:46:54 +01:00
2023-10-10 21:46:54 +01:00
2023-10-10 21:46:54 +01:00
2023-05-02 14:10:53 +01:00
2023-10-10 21:46:54 +01:00
2023-10-10 21:46:54 +01:00
2023-10-18 11:07:09 +01:00
2023-10-27 10:26:59 -04:00
2023-10-18 11:07:09 +01:00
2024-03-27 17:26:24 +01:00
2024-01-23 21:53:13 +01:00
2023-05-02 14:10:53 +01:00
2023-05-02 14:10:53 +01:00
2024-05-28 10:21:33 -03:00
2024-05-29 18:58:25 -04:00
2024-03-28 11:16:39 -05:00
2024-07-25 15:09:06 +02:00
2024-08-08 17:33:23 +02:00
2023-10-18 11:07:09 +01:00
2024-08-08 17:33:23 +02:00
2024-04-25 16:47:45 +03:00
2023-10-18 11:07:09 +01:00
2023-10-10 21:46:54 +01:00
2024-03-06 18:05:11 +01:00
2023-05-02 14:10:53 +01:00
2023-10-10 21:46:54 +01:00
2023-09-25 16:45:57 -04:00
2023-10-10 21:46:54 +01:00
2023-05-02 14:10:53 +01:00
2023-05-02 14:10:53 +01:00
2023-08-21 14:28:16 +02:00
2024-01-23 21:53:13 +01:00
2021-07-13 19:22:39 +03:00
2023-05-02 14:10:53 +01:00
2023-05-02 14:10:53 +01:00
2023-12-29 14:15:56 +08:00
2023-11-27 12:16:31 +01:00
2020-09-04 13:42:47 +02:00
2023-10-18 11:07:09 +01:00
2020-09-04 13:42:47 +02:00
2024-01-23 21:53:13 +01:00
2023-10-10 21:46:54 +01:00
2024-03-19 12:47:18 +08:00
2024-04-18 08:53:52 +10:00
2023-10-10 21:46:54 +01:00
2023-05-02 14:10:53 +01:00
2023-10-10 21:46:54 +01:00
2024-07-11 08:37:53 +08:00
2023-10-18 11:07:09 +01:00
2023-11-27 12:16:31 +01:00
2023-05-02 14:10:53 +01:00
2023-10-18 11:07:09 +01:00
2023-10-18 11:07:09 +01:00
2020-09-04 13:42:47 +02:00
2024-04-16 13:58:06 +02:00
2023-05-02 14:10:53 +01:00
2023-10-10 21:46:54 +01:00
2023-10-10 21:46:54 +01:00
2024-04-18 08:53:52 +10:00
2024-04-18 08:53:52 +10:00
2023-10-10 21:46:54 +01:00
2023-05-02 14:10:53 +01:00
2023-05-02 14:10:53 +01:00
2023-08-31 11:49:35 +02:00
2023-10-10 21:46:54 +01:00
2024-03-19 12:25:25 +01:00
2023-10-10 21:46:54 +01:00
2023-05-02 14:10:53 +01:00
2023-05-02 14:10:53 +01:00
2023-11-10 00:05:02 +01:00
2024-06-13 17:10:25 -04:00
2023-10-10 21:46:54 +01:00
2020-09-04 13:42:47 +02:00
2024-08-05 12:04:54 -04:00
2024-03-07 16:14:50 +02:00
2023-10-10 21:46:54 +01:00
2022-02-02 23:41:42 +01:00
2024-04-05 08:35:25 -05:00
2022-02-14 13:43:52 +02:00
2020-09-04 13:42:47 +02:00
2023-05-02 14:10:53 +01:00
2023-10-18 11:07:09 +01:00
2023-10-10 21:46:54 +01:00
2024-04-16 15:28:36 -05:00
2023-05-02 14:10:53 +01:00
2023-10-10 21:46:54 +01:00
2024-04-25 15:22:41 +02:00
2024-04-29 15:50:55 +05:30