You are here

function _less_token_replace in Less CSS Preprocessor 7.3

Same name and namespace in other branches
  1. 8 less.module \_less_token_replace()
  2. 7.4 less.module \_less_token_replace()
  3. 7.2 less.module \_less_token_replace()

Handler for LESS function token().

1 string reference to '_less_token_replace'
less_get_settings in ./less.module
Returns the compiled list of variables and functions for a module/theme.

File

./less.module, line 454
Handles compiling of .less files.

Code

function _less_token_replace($arg) {
  list($type, $delimeter, $value) = $arg;
  return array(
    $type,
    $delimeter,
    array(
      token_replace($value[0]),
    ),
  );
}