Skip to content
Snippets Groups Projects
Commit f88727ff authored by catch's avatar catch
Browse files

Issue #1222260 by sun, jenlampton, mr.baileys: Remove theme_filter_tips_more_info() from core.

parent 661fd5bf
Branches
Tags
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
......@@ -83,9 +83,6 @@ function filter_theme() {
'text_format_wrapper' => array(
'render element' => 'element',
),
'filter_tips_more_info' => array(
'variables' => array(),
),
'filter_guidelines' => array(
'variables' => array('format' => NULL),
),
......@@ -754,8 +751,8 @@ function filter_process_format($element) {
$element['format']['help'] = array(
'#type' => 'container',
'#theme' => 'filter_tips_more_info',
'#attributes' => array('class' => array('filter-help')),
'#markup' => l(t('More information about text formats'), 'filter/tips', array('attributes' => array('target' => '_blank'))),
'#weight' => 0,
);
......@@ -1010,15 +1007,6 @@ function filter_dom_serialize_escape_cdata_element($dom_document, $dom_element,
}
}
/**
* Returns HTML for a link to the more extensive filter tips.
*
* @ingroup themeable
*/
function theme_filter_tips_more_info() {
return '<p>' . l(t('More information about text formats'), 'filter/tips', array('attributes' => array('target' => '_blank'))) . '</p>';
}
/**
* Returns HTML for guidelines for a text format.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment