Skip to content
Snippets Groups Projects
Commit 41820c1a authored by Daniel Wehner's avatar Daniel Wehner Committed by Tim Plunkett
Browse files

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

parent cdf2978b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment