Where to put a get data type of function in a package
Permalink
I'm building a package and I have a function that retrieves specific data from a table and returns an array. I need this for a view in a block and a single page which are part of the same package. Trying to stick to best practices, where should I put it?