[development] minimizing views_default_views in a module

Carl Wiedemann carl.wiedemann at gmail.com
Fri Mar 18 13:31:35 UTC 2011


Not quite sure I understand what exactly is non-maintainable?

You may also investigate http://drupal.org/project/features for assistance
with exporting Views to code.


On Fri, Mar 18, 2011 at 7:45 AM, Sean Dague <sean at dague.net> wrote:

> I'm working on a new drupal 6.x module (currently in sandbox awaiting
> review - http://drupal.org/sandbox/sdague/1072704) which exports it's data
> via views.  When I implemented hook_views_default_views() I just used the
> export functionality on views for a few basic views to get things started.
>
> That works, but those are both very verbose, and don't implement any i18n.
> Is there a standard way of trimming down the default values in those views
> so this becomes a bit more sane and maintainable?
>
> Advice would be appreciated,
>
>        -Sean
>
> --
>
> Sean Dague                       Learn about the Universe with the
> sean at dague dot net          Mid-Hudson Astronomical Association
> http://dague.net                         http://midhudsonastro.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110318/48c4949b/attachment.html 


More information about the development mailing list