Commit 41820c1a authored by dawehner's avatar dawehner Committed by tim.plunkett
Browse files

Adapt due to make role.rid a machine-name.

parent cdf2978b
......@@ -395,7 +395,6 @@ function user_views_data() {
),
'filter' => array(
'handler' => 'views_handler_filter_user_roles',
'numeric' => TRUE,
'allow empty' => TRUE,
),
'argument' => array(
......
......@@ -45,7 +45,7 @@ function render_item($count, $item) {
function document_self_tokens(&$tokens) {
$tokens['[' . $this->options['id'] . '-role' . ']'] = t('The name of the role.');
$tokens['[' . $this->options['id'] . '-rid' . ']'] = t('The role ID of the role.');
$tokens['[' . $this->options['id'] . '-rid' . ']'] = t('The role machine-name of the role.');
}
function add_self_tokens(&$tokens, $item) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment