DaleTrexel,
@DaleTrexel@drupal.community avatar

I recently created my first @ViewsField plugin, which apparently is unique among plugins in that you also need to implement a hook (hook_views_data_alter) to tell Views about it and how to use it. The properties you define in the hook seem very similar to what other plugins take as annotation.

Is there something especially complex about this plugin type that regular annotation isn't enough, thus the hook? Or is this just a case of a plugin type that COULD be simplified but hasn't yet?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • drupal
  • slotface
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • khanakhh
  • ethstaker
  • JUstTest
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines