hook_filter_info_alter(&$info)
Perform alterations on filter definitions.
array $info: Array of information on filters exposed by filter plugins.
function hook_filter_info_alter(&$info) { // Alter the default settings of the URL filter provided by core. $info['filter_url']['default_settings'] = array( 'filter_url_length' => 100, ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!filter!filter.api.php/function/hook_filter_info_alter/8.1.x