updated pathauto token
This commit is contained in:
@@ -1392,7 +1392,6 @@ function field_token_info_alter(&$info) {
|
||||
*/
|
||||
function field_tokens($type, $tokens, array $data = array(), array $options = array()) {
|
||||
$replacements = array();
|
||||
$sanitize = !empty($options['sanitize']);
|
||||
$langcode = isset($options['language']) ? $options['language']->language : NULL;
|
||||
|
||||
// Entity tokens.
|
||||
@@ -1437,7 +1436,7 @@ function field_tokens($type, $tokens, array $data = array(), array $options = ar
|
||||
/**
|
||||
* Pre-render callback for field output used with tokens.
|
||||
*/
|
||||
function token_pre_render_field_token(&$elements) {
|
||||
function token_pre_render_field_token($elements) {
|
||||
// Remove the field theme hook, attachments, and JavaScript states.
|
||||
unset($elements['#theme']);
|
||||
unset($elements['#states']);
|
||||
|
||||
Reference in New Issue
Block a user