You are here

function ctools_get_argument in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/context.inc \ctools_get_argument()

Fetch metadata on a specific argument plugin.

Parameters

$argument: Name of an argument plugin.

Return value

An array with information about the requested argument plugin.

7 calls to ctools_get_argument()
ctools_context_handler_render in includes/context-task-handler.inc
Render a context type task handler given a list of handlers attached to a type.
ctools_context_replace_form in includes/context.inc
Provide a form array for getting data to replace placeholder contexts with real data.
page_manager_page_argument_form_change_submit in page_manager/plugins/tasks/page.admin.inc
Submit handler to change an argument.
page_manager_page_argument_form_settings in page_manager/plugins/tasks/page.admin.inc
Basic settings form for a page manager page.
page_manager_page_form_argument in page_manager/plugins/tasks/page.admin.inc
Form to handle assigning argument handlers to named arguments.

... See full list

1 string reference to 'ctools_get_argument'
ctools_context_info in includes/context-admin.inc
Provide a list of the ways contexts can be embedded.

File

includes/context.inc, line 708
Contains code related to the ctools system of 'context'.

Code

function ctools_get_argument($argument) {
  ctools_include('plugins');
  return ctools_get_plugins('ctools', 'arguments', $argument);
}