I have a module that demonstrates how to use another module (a graphing library). One of my controllers uses a large dataset to generate one of the example graphs. I currently have this data assigned to a variable in the controller. However, this takes up a large amount of space in the file. If I want to meet Drupal code style guidelines, I would have to break up the array after every
[x,y] pair, making it even more difficult to review.
Should I move this data into some sort of include file, and read the text file into my controller? What's the "Drupal Way"?