You are here

function styles_module_load_all_includes in Styles 7.2

Same name and namespace in other branches
  1. 6.2 styles.module \styles_module_load_all_includes()

Load all registered module/styles.inc and modules/includes/styles.inc files.

3 calls to styles_module_load_all_includes()
styles_default_containers in ./styles.module
Return all available containers for a specific field type.
styles_default_presets in ./styles.module
Return all available presets for field type containers.
styles_default_styles in ./styles.module
Return all available styles for a specific field type.

File

./styles.module, line 356
Bundles similar display formatters together.

Code

function styles_module_load_all_includes() {
  foreach (styles_get_registered_classes() as $class) {
    module_load_include('inc', $class['module'], 'styles');
    module_load_include('inc', $class['module'], $class['module'] . '/styles');
    module_load_include('inc', $class['module'], 'includes/' . $class['module'] . '.styles');
    module_load_include('inc', $class['module'], 'includes/styles/' . $class['module'] . '.styles');
  }
}