Skip to content

Commit f3e2819

Browse files
committed
More details on post_copy
1 parent c7c23e5 commit f3e2819

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/extending_cms/custom_plugins.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -924,13 +924,14 @@ See also: `translatable_content_excluded_fields`_, `set_translatable_content`_
924924
post_copy
925925
---------
926926

927-
Can be overriden to handle more advanced cases (eg Text Plugins) after the
928-
original has been copied.
927+
Can (should) be overriden to handle the copying of plugins which contain
928+
children plugins after the original parent has been copied.
929929

930930
``post_copy`` takes 2 arguments:
931931

932932
* ``old_instance``: The old plugin instance instance
933-
* ``new_old_ziplist``: [unclear at time of this edit]
933+
* ``new_old_ziplist``: A list of tuples containing new copies and the old
934+
existing child plugins.
934935

935936
See also: `Handling Relations`_, `copy_relations`_
936937

0 commit comments

Comments
 (0)