-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
58 lines (43 loc) · 2.38 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
ACKNOWLEDGEMENTS
As this is the next evolution of Corresponding Node References,
I would like to say thanks for all the work done over on Corresponding Node
References.
DESCRIPTION
It syncs the entity reference between two entity types which have an entity
reference to each other, so double editing entities is no longer needed. If one
entity has a reference, the other entity also receives a reference to the saved
entity if it is referenced in that entity.
DEPENDENCIES
7.x: Entity Reference
EXAMPLE
Entity type A has an entity reference to entity type B and entity type B has an
entity reference to entity type A. When you create entity X of type A and
reference it to entity Y of type B entity Y will also receive an update in its
entity reference field pointing to entity X.
KNOWN ISSUES
- Support for entity reference fields in field collections is still a work in progress.
CER has no native support for entities that are wrapped by other entities (i.e.,
field collections), and implementing this properly will require extensive changes
to many parts of CER. For this reason, field collection support is on hold until
a few other major issues in the queue are sorted out. The thread for field collection
support is http://drupal.org/node/1729666.
- Support for multi-language entities is, at the time of this writing, flaky at best.
There is a patch to implement better multi-language support, available at
http://drupal.org/node/1961026. If this patch works well for you, PLEASE post
in that issue to say that it worked so that the patch can be reviewed by
the community before being committed into CER.
- If you're updating CER from 1.x to 2.x, you should rebuild your theme registry.
This is because the reference labels on CER's admin page were made themeable
in 2.x, so you'll need to make Drupal recognize the new theme hook.
INSTALL
- To install enable the module at admin/build/modules
- Create entity type A
- Create entity type B
- Create a entity reference field on entity type A pointing to entity B
- Create a entity reference field on entity type B pointing to entity A
- Go to the settings page at admin/config/system/cer.
Select to enable the corresponding referencing for these node types pointing
to each other.
- Create some entities and reference them to each other
MAINTAINER
Questions, comments, etc. should be directed to phenaproxima (djphenaproxima@gmail.com).