You are here

function ctools_get_classes in Chaos Tool Suite (ctools) 7

Return the classes for the body (added by ctools_class_add).

Return value

array A copy of the array of classes to add to the body tag. If none have been added, this will be an empty array.

See also

ctools_class_add()

5 calls to ctools_get_classes()
CtoolsModuleTestCase::testClassesAdd in tests/ctools.test
Test that the ctools_classs_add works.
CtoolsModuleTestCase::testClassesAddRemove in tests/ctools.test
Test that the ctools_classs_add and ctools_classs_remove interact well.
CtoolsModuleTestCase::testClassesAddRemove2 in tests/ctools.test
Test that the ctools_classs_add and ctools_classs_remove interact well .. 2.
CtoolsModuleTestCase::testClassesRemove in tests/ctools.test
Test that the ctools_classs_remove works.
ctools_process in ./ctools.module
Implements hook_process().

File

./ctools.module, line 593
CTools primary module file.

Code

function ctools_get_classes() {
  return drupal_static('ctools_process_classes', array());
}