function theme_indentation
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
File
- includes/theme.inc, line 2370
- 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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!theme.inc/function/theme_indentation/7.x