From 92c0784fbf167e9a24dd526e1b4e9d008b852ee1 Mon Sep 17 00:00:00 2001 From: Akanksha Date: Wed, 19 Jun 2024 08:23:28 -0300 Subject: [PATCH] DDST-166: Clean up --- .../modules/dgi_actions_handle_constraints/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dgi_actions_handle/modules/dgi_actions_handle_constraints/README.md b/modules/dgi_actions_handle/modules/dgi_actions_handle_constraints/README.md index 114bc6e..d8e3be4 100644 --- a/modules/dgi_actions_handle/modules/dgi_actions_handle_constraints/README.md +++ b/modules/dgi_actions_handle/modules/dgi_actions_handle_constraints/README.md @@ -20,9 +20,9 @@ further information. 1. **Unique Constraints**: The module can add a unique constraint to specified fields of an entity. -2. **Entity Base Field Alteration**: The module implements the `hook_entity_base_field_info_alter` hook to add unique constraints to the fields of an entity if the entity type is an instance of `ContentEntityTypeInterface`. +2. **Entity Base Field Alteration**: The module implements the `hook_entity_base_field_info_alter` hook to add constraints to the configured fields. -3. **Entity Bundle Field Alteration**: The module implements the `hook_entity_bundle_field_info_alter` hook to add unique constraints to the fields of an entity bundle if the entity type is an instance of `ContentEntityTypeInterface`. +3. **Entity Bundle Field Alteration**: The module implements the `hook_entity_bundle_field_info_alter` hook to add constraints to the configured fields. 4. **Entity Pre-save**: The module implements the `hook_entity_presave` hook to revert the value of the suffix field if it is changed. This is needed for spreadsheet ingest.