Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
As the title already says, I am wondering how to load an ECK entity programatically using it's entity id. The documentation on the ECK project page doesn't provide any developer information on Drupal 8 yet.
I really hope someone can help me out here.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedVic Luijkx created an issue. See original summary.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #4
melvinlouwerse CreditAttribution: melvinlouwerse at Ibuildings commentedNot sure if you already found out but to load them by id you should be able to use
Probably you should use entity.type.manager since entity.manager is deprecated but this is the code how we use it in some behat tests.
Comment #5
xSDx CreditAttribution: xSDx at Websolutions Agency commentedService is actually now entity_type.manager like example below:
Comment #6
tamerzg CreditAttribution: tamerzg at Websolutions Agency commentedComment #7
jcnventura CreditAttribution: jcnventura at 1xINTERNET commented