This project is not covered by Drupal’s security advisory policy.

This API allows for easy and automatic creation of UIs to handle passing arguments to views. It creates a mechanism other than the URI for modules to specify arguments in block and embedded views. Now, there is a standardized interface for allowing users to pre-select arguments to pass to embedded views. In admin/build/views, you can select how you want arguments to be passed to an embedded view. In a module that you write, you can build a form for selecting those values (with simply one function call), process the submission of that form (with simply one function call), and call up and assemble arguments to pass to your embedded views (with simply one function call).

Here are some examples of what we can accomplish* with this module:

  • You can now easily create a block that lists a different set of nodes depending on the current node's taxonomy.
  • You can shows an image from a photo gallery related to the active node.
  • You can create a block that shows a list of nodes authored by the active node's author.
  • You can show a block of recent posts the current user made within an organic group when it is viewed.
  • You can create one view and use it to generate different content for many different blocks.
  • And more.

*This module provides the API for accomplishing these tasks. You will need other contributed modules, or will need to write your own modules to make use of the capabilities of this module.

The API is documented by use of Doxygen standards, so if you have a reader for that (such as a site with the API module installed), it will make it easy to generate documentation.

Sponsors
This module was made possible by the funding of Prometheus Labor and Danaus Media, LLC.

Project information

Releases