I'm writing a module for drupal. Its functionality is contingent on the directory name, certain file names, and function names being identical.
I'm troubleshooting now, and I wanted to to a search to see that I had an identical string in all the places I needed it to be, but I realized I would be missing the directory name and filename! Is there a way to do a grep or something that would search all that information?
For example, if my module was named string, I would need
string/
string/string.module
function string_function1() {...}
function string_function2() {...}
If I did my everythinggrep string . and I saw
string/
function string_function1() {...}
function string_function2() {...}
I would know that I had misnamed my module file.