Grayside.Org - snippet http://grayside.org/category/1/snippet en Drush Snippets: Menu Trace http://grayside.org/2012/08/drush-snippets-menu-trace <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>Random snippet of the day, find out what modules are involved in building out a given menu route definition. When you type a <span class="caps">URI</span> into your browser, Drupal&#8217;s menu routing system connects that to your page content by processing the path into instructions for how to build the&nbsp;page.</p> <p>To use this script, copy the text or clone from github as a file, make it executable. It will automatically run with <code>drush php-script</code>. You can use <code>--verbose</code> for &#8220;full array notation&#8221; of each module&#8217;s change to the menu route. Or you can just use <code>--pipe</code> to get a list of modules and go look at the code&nbsp;directly.</p> <script src="https://gist.github.com/3326438.js"> </script> <p>In theory this should work with Drupal 7, but I haven&#8217;t gotten around to testing it&nbsp;yet.</p> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Terms:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/category/terms/drupal6">drupal6</a></div><div class="field-item odd"><a href="/category/terms/drush">drush</a></div><div class="field-item even"><a href="/category/1/snippet">snippet</a></div><div class="field-item odd"><a href="/taxonomy/term/1">drupal</a></div></div></div> Sat, 11 Aug 2012 19:08:54 +0000 Grayside 99 at http://grayside.org http://grayside.org/2012/08/drush-snippets-menu-trace#comments