Skip to content
Snippets Groups Projects
Commit 10d1afb8 authored by Jon Hockley's avatar Jon Hockley Committed by Jay Visaria
Browse files

Issue #3296883: Automated Drupal 10 compatibility fixes

parent d3652d20
No related branches found
No related tags found
1 merge request!3Issue #3296883: Automated Drupal 10 compatibility fixes
{
"name": "drupal/contextual_range_filter",
"type": "drupal-module",
"license": "GPL-2.0-or-later",
"minimum-stability": "stable",
"require": {}
}
\ No newline at end of file
......@@ -2,8 +2,7 @@ name: Views Contextual Range Filter
type: module
description: 'Contextually filter Views by alphabetic, date or numeric ranges, e.g. <em>http://yoursite.com/yourview/50--99.95</em>'
package: Views
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^9.3 || ^10
configure: contextual_range_filter.settings
dependencies:
- drupal:views
\ No newline at end of file
......@@ -33,7 +33,7 @@ function contextual_range_filter_help($route_name, RouteMatchInterface $route_ma
];
$help1 = t('You must first add contextual filters in the advanced section of the Views UI before they appear on this <a href=":one">configuration</a> page.<br/>When defined contextual range filters are employed like normal contextual filters, i.e. by apppending "arguments" to the URL. You separate "from" and "to" values by a double hyphen, e.g., <em>http://yoursite.com/yourview/50--149.95</em><br/>You may omit the from or to values to create open-ended ranges, e.g., <em>http://yoursite.com/yourview/--149.95</em> or <em>http://yoursite.com/yourview/50--</em><br/>All filter ranges are inclusive of from and to values.<br/>Instead of "<strong>--</strong>" you may use a colon "<strong>:</strong>"', $options);
$extra1_options = [
':README' => Url::fromUri('internal:/' . drupal_get_path('module', 'contextual_range_filter') . '/README.txt')->toString(),
':README' => Url::fromUri('internal:/' . \Drupal::service('extension.list.module')->getPath('contextual_range_filter') . '/README.txt')->toString(),
];
$extra1 = t('Configuration and usage instructions with examples can be found in the <a target="readme" href=":README">README</a> file.', $extra1_options);
$extra2_options = [
......
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