2

I would like to find the file containing a block and the block to override to make a specific change.

Is there a way to print this information out?

Interlated
  • 5,108
  • 6
  • 48
  • 79
  • It's not realy a way to display it but your IDE should be able to find it for you. For example with PHPStorm a simple ctrl+maj+f on your main project folder (or in your Resources if you know it is there) will find the block you want. – Guillaume Fache May 19 '15 at 09:24
  • Yes, I marked vendor and the cache directories as 'excluded' because of the noise - but it works. Half the reason I was scratching my head. – Interlated May 19 '15 at 19:20

1 Answers1

3

You can in 2.7

http://symfony.com/blog/new-in-symfony-2-7-twig-profiler

Look Rendering Call Graph

Med
  • 2,035
  • 20
  • 31
  • That's nice - and the call graph would be exactly what I wanted. On 2.3. for stability but it looks like the answer. – Interlated May 19 '15 at 19:23