Merge pull request #7092 from aws-lumberyard-dev/Atom/scottmur/P1_entity_reference

P1 Entity Reference Component tests
This commit is contained in:
jromnoa
2022-01-25 13:39:07 -08:00
committed by GitHub
3 changed files with 133 additions and 31 deletions
@@ -197,11 +197,13 @@ class AtomComponentProperties:
def entity_reference(property: str = 'name') -> str:
"""
Entity Reference component properties.
- 'EntityIdReferences' component container of entityId references. Initially empty.
:param property: From the last element of the property tree path. Default 'name' for component name string.
:return: Full property path OR component name if no property specified.
"""
properties = {
'name': 'Entity Reference',
'EntityIdReferences': 'Controller|Configuration|EntityIdReferences',
}
return properties[property]