Closed jacobembree closed 7 years ago
entity_delete() is defined in src/entity.js and src/services/services.entity.js
entity_delete()
src/entity.js
src/services/services.entity.js
src/entity.js entity_delete() calls entity_type + '_delete'. src/services/services.entity.js entity_delete() uses Drupal.services.call().
entity_type + '_delete'
Drupal.services.call()
I believe the one in services.entity.js overwrites the one in entity.js, so should the one in entity.js simply be removed?
services.entity.js
entity.js
@jacobembree Yes, great catch, thank you.
entity_delete()
is defined insrc/entity.js
andsrc/services/services.entity.js
src/entity.js
entity_delete()
callsentity_type + '_delete'
.src/services/services.entity.js
entity_delete()
usesDrupal.services.call()
.I believe the one in
services.entity.js
overwrites the one inentity.js
, so should the one inentity.js
simply be removed?