Skip to content

Commit 5f8412a

Browse files
committed
data_migration_actions.md: Add add_block_to_available_blocks example
1 parent 720b62e commit 5f8412a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/content_management/data_migration/data_migration_actions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ The following migration actions are available out of the box:
5858
- `remove_drafts` (Content type Update)
5959
- `remove_field_by_identifier` (Content type Update)
6060
- `unassign_content_type_group` (Content type Update)
61+
- `add_block_to_available_blocks` (Content type Update)
6162
- `assign_role_to_user` (Role Create / Update)
6263
- `assign_role_to_user_group` (Role Create / Update)
6364
- `assign_user_to_role` (User Create / Update)
@@ -103,6 +104,7 @@ mode: Update
103104
- { action: unassign_content_type_group, value: 'Content' }
104105
- { action: remove_field_by_identifier, value: 'short_title' }
105106
- { action: remove_drafts, value: null }
107+
- { action: add_block_to_available_blocks, fieldDefinitionIdentifier: 'page', blocks: ['event'] }
106108
```
107109

108110
### Roles

0 commit comments

Comments
 (0)