Skip to content

Instantly share code, notes, and snippets.

@damiankloip
Created April 11, 2013 16:39
Show Gist options
  • Save damiankloip/5364995 to your computer and use it in GitHub Desktop.
Save damiankloip/5364995 to your computer and use it in GitHub Desktop.
/**
* Returns the plugin category that this display requires.
*
* This can be used for filtering views plugins. E.g. If a plugin category of
* 'foo' is specified, only plugins with no 'types' declared or 'types'
* containing 'foo'. If you have a type of bar, this plugin will not be used.
* This is applicable for style, row, access, cache, and exposed_form plugins.
*
* @return string
* The required category type. Defaults to 'normal'.
*
* @see views_fetch_plugin_names()
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment