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
* - description: Additional administrative information about the filter's
* behavior, if needed for clarification.
* - settings callback: The name of a function that returns configuration
...
...
@@ -81,6 +90,7 @@
functionhook_filter_info(){
$filters['filter_html']=array(
'title'=>t('Limit allowed HTML tags'),
'type'=>FILTER_TYPE_HTML_RESTRICTOR,
'description'=>t('Allows you to restrict the HTML tags the user can use. It will also remove harmful content such as JavaScript events, JavaScript URLs and CSS styles from those tags that are not removed.'),
'process callback'=>'_filter_html',
'settings callback'=>'_filter_html_settings',
...
...
@@ -93,6 +103,7 @@ function hook_filter_info() {
);
$filters['filter_autop']=array(
'title'=>t('Convert line breaks'),
'type'=>FILTER_TYPE_MARKUP_LANGUAGE,
'description'=>t('Converts line breaks into HTML (i.e. <br> and <p>) tags.'),