You are here

function views_content_cache_key::options_form in Views content cache 6.2

Same name and namespace in other branches
  1. 7.3 plugins/views_content_cache/base.inc \views_content_cache_key::options_form()

Optionally provides a option form for the user to use this segment.

Typical uses of this will include returning a checkboxes FormAPI element that will allow the user to indicate which keys in the cache segement they are interested in for the view that they are building. Eg. Checkboxes for each node type or each organic group.

Parameters

$value: The default value that has been previously set.

$handler: The handler that this options for is for.

Return value

A FormAPI element that will appear as part of the views content cache options form when building a view.

6 methods override views_content_cache_key::options_form()
views_content_cache_key_comment::options_form in plugins/comment.inc
Optionally provides a option form for the user to use this segment.
views_content_cache_key_node::options_form in plugins/node.inc
Optionally provides a option form for the user to use this segment.
views_content_cache_key_nodequeue::options_form in plugins/nodequeue.inc
Optionally provides a option form for the user to use this segment.
views_content_cache_key_node_only::options_form in plugins/node_only.inc
Optionally provides a option form for the user to use this segment.
views_content_cache_key_og::options_form in plugins/og.inc
Optionally provides a option form for the user to use this segment.

... See full list

File

plugins/base.inc, line 24

Class

views_content_cache_key
Base class for the views content cache plugins.

Code

function options_form($value, &$handler) {
  return array();
}