Commit cc7d23fd authored by waverate's avatar waverate Committed by Mark Fullmer

Issue #3052007 by waverate: Drupal 9 Deprecated Code Report

parent 04d539ca
......@@ -5,6 +5,7 @@
* Contains responsive_tables_filter.module..
*/
use Drupal\Core\Url;
use Drupal\Core\Routing\RouteMatchInterface;
/**
......@@ -18,7 +19,7 @@ function responsive_tables_filter_help($route_name, RouteMatchInterface $route_m
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<dt>' . t('Basic Usage : text format') . '</dt>';
$output .= '<dd>' . t('Go to any of the defined formats on the <a href=":formats">Text formats page</a>. Enable "Apply responsive behavior to HTML tables" and save the form.', [':formats' => \Drupal::url('filter.admin_overview')]) . '</dd>';
$output .= '<dd>' . t('Go to any of the defined formats on the <a href=":formats">Text formats page</a>. Enable "Apply responsive behavior to HTML tables" and save the form.', [':formats' => Url::fromRoute('filter.admin_overview')]) . '</dd>';
$output .= '<dd>' . t('Under "Filter processing order," make sure this is placed after any filters that would strip table-related tags or the "class" attribute.') . '</dd>';
$output .= '<dd>' . t('If the text format uses "Limit allowed HTML tags and correct faulty HTML," make sure all of the following are included in the allowed list:') . htmlentities(' <table> <th> <tr> <td> <thead> <tbody> <tfoot>') . '</dd>';
$output .= '<p>Any fields that use the text format(s) which have tables in them will now be responsive.</p>';
......
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