You are here

public function Formatter::indentation in Forena Reports 8

File

src/FrxPlugin/FieldFormatter/Formatter.php, line 229
contains various methods for extending report formating, layout, transformation and design.

Class

Formatter
Formatter for common drupal fields.

Namespace

Drupal\forena\FrxPlugin\FieldFormatter

Code

public function indentation($value) {
  if ($value) {
    $vars = array(
      'size' => $value,
    );
    $value = theme_indentation($vars);
  }
  else {
    $value = '';
  }
  return $value;
}