Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293926

provide a way to specifiy the database connection in DrupalDefaultEntityController

$
0
0

I have some entities in an external database that I access with a controller class extending DrupalDefaultEntityController. Right now I have to override buildQuery() and propertyQuery(),
copying 140 lines just to change 2 db_select() calls. Maybe the class could provide an overridable getConnection() method instead.


Viewing all articles
Browse latest Browse all 293926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>