EntityRelationshipsExtension
class EntityRelationshipsExtension extends Twig_Extension
Class EntityRelationshipsExtension is injected as empire_entity_relationship_plugin.extension service. EntityRelationshipsExtension handles the logic and provides necessary data for managed entity in twig.
Properties
| protected EntityRelationshipManager | $manager |
Methods
getFunctions()
{@inheritdoc}
array
getRelationshipData(string $title, array $ids = [])
Get relationship data from database
string
getName()
No description
Details
at line 29
__construct(EntityRelationshipManager $manager)
at line 37
getFunctions()
{@inheritdoc}
at line 53
array
getRelationshipData(string $title, array $ids = [])
Get relationship data from database