You are here

function _less_token_replace in Less CSS Preprocessor 7.4

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

Handler for LESS function token().

Parameters

string[] $arg:

Return value

array

2 string references to '_less_token_replace'
LessUnitTest::test_less_output_path in tests/less.test
Test the _less_output_path() function.
less_get_settings in ./less.module
Returns the compiled list of variables and functions for a module/theme.

File

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

Code

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