Views 3 Hooks Documentation

2 replies [Last post]
denvermatt
Offline
Last seen: 9 years 26 weeks ago
Joined: 2011-07-08

I'm in search of documentation on Views 3 hooks, objects, methods and the parameters they expect. Most of the documentation that I've seen has been basically just a "paste" of the various hook functions without any real explanation of how they work, the types of data they expect or how to use them.

When you Google for documentation for Views hooks most of the results are for Views 1 or Views 2. Unfortunately, Views 3 is very different from the first version, and version 2 seems to have small differences in most of the objects I'm trying to use (additional parameters and methods that have no definition usually).

Does anyone know of a reliable repository of Views 3 documentation that defines how to hook modules into Views? And perhaps (ghastly, I know) has actual code examples?

Thanks in advance.

Chris Shattuck
Offline
Last seen: 10 weeks 4 days ago
Joined: 2009-08-16
Hi Matt! Good questions, I

Hi Matt!

Good questions, I plan on hitting this in future videos, but for now since Views 3 is fairly new I think the documentation is relatively scarce. I'll keep my eyes peeled and will post back here if I find anything fairly solid.

Cheers!
Chris

denvermatt
Offline
Last seen: 9 years 26 weeks ago
Joined: 2011-07-08
I found some Views 3 Documentation

I did finally find some relatively good documentation in case this helps anyone else.

http://api.drupalecommerce.org/api/views/views--plugins--views_plugin_query_default.inc/class/views_plugin_query_default/7.x

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.