Full ELMS Learning Network documentation
function theme_indentation
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).cis7 theme.inc | theme_indentation($variables) |
cle7 theme.inc | theme_indentation($variables) |
elmsmedia7 theme.inc | theme_indentation($variables) |
icor7 theme.inc | theme_indentation($variables) |
meedjum_blog7 theme.inc | theme_indentation($variables) |
mooc7 theme.inc | theme_indentation($variables) |
Returns HTML for an indentation div; used for drag and drop tables.
Parameters
$variables: An associative array containing:
- size: Optional. The number of indentations to create.
Related topics
5 theme calls to theme_indentation()
- field_ui_table_pre_render in modules/
field_ui/ field_ui.admin.inc - Pre-render callback for field_ui_table elements.
- theme_book_admin_table in modules/
book/ book.admin.inc - Returns HTML for a book administration form.
- theme_menu_overview_form in modules/
menu/ menu.admin.inc - Returns HTML for the menu overview form into a table.
- theme_outline_designer_book_admin_table in sites/
all/ modules/ elmsln_contrib/ outline_designer/ modules/ outline_designer_book/ outline_designer_book.module - Theme override for book_admin_table
- theme_taxonomy_overview_terms in modules/
taxonomy/ taxonomy.admin.inc - Returns HTML for a terms overview form as a sortable list of terms.
6 string references to the theme hook from theme_indentation()
Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.
- drupal_common_theme in includes/
common.inc - Provides theme registration for themes across .inc files.
- field_ui_table_pre_render in modules/
field_ui/ field_ui.admin.inc - Pre-render callback for field_ui_table elements.
- theme_book_admin_table in modules/
book/ book.admin.inc - Returns HTML for a book administration form.
- theme_menu_overview_form in modules/
menu/ menu.admin.inc - Returns HTML for the menu overview form into a table.
- theme_outline_designer_book_admin_table in sites/
all/ modules/ elmsln_contrib/ outline_designer/ modules/ outline_designer_book/ outline_designer_book.module - Theme override for book_admin_table
File
- includes/
theme.inc, line 2278 - The theme system, which controls the output of Drupal.
Code
function theme_indentation($variables) {
$output = '';
for ($n = 0; $n < $variables['size']; $n++) {
$output .= '<div class="indentation"> </div>';
}
return $output;
}