You are here

function ctools_get_argument in Chaos Tool Suite (ctools) 7

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

Fetch metadata for a specific argument plugin.

Parameters

$argument: Name of an argument plugin.

Return value

array An array with information about the requested argument plugin.

7 calls to ctools_get_argument()
ctools_context_handler_render_handler in includes/context-task-handler.inc
Render a task handler.
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 1140
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);
}