Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Views Add Button

The Views Add Button module is used to create an entity add button with customizable query parameters and link classes, and also permits a user to create add buttons for any entity. VAB generates links either by an assumed URL structure, or by referring to plugins supplied in a module,

This guide covers:

  • How to install VAB
  • How to use in a view
  • How to write a VAB plugin (with examples!)

Installing Views Add Button

How to install Views Add Button

Using Views Add Button in Views

Explanation of the button location + meaning of the settings fields.

VAB Plugin Selection Rules

How render and access plugins are chosen.

How to create an Add Button programmatically

PHP code snippet that will generate an Add Button, usually in a .install file.

How to write a VAB plugin

Instructions + a code example

Views Add Button: Group

How to use Views Add Button: Group

Guide maintainers

laboratory.mike's picture