Drupal: Extract your PHP snippets from Views, Panels, etc.