You are here

function ctools_ajax_command_css_files in Chaos Tool Suite (ctools) 6

Create a settings command for the AJAX responder.

This will add CSS files to the output. Files that have already been processed will not be processed again.

Parameters

$argument: An array of CSS files.

1 call to ctools_ajax_command_css_files()
ctools_ajax_render in includes/ajax.inc
Render a commands array into JSON and immediately hand this back to the AJAX requester.

File

includes/ajax.inc, line 312
Utilize the CTools AJAX responder.

Code

function ctools_ajax_command_css_files($argument) {
  return array(
    'command' => 'css_files',
    'argument' => $argument,
  );
}