function hook_filter_info_alter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/filter/filter.api.php \hook_filter_info_alter()
Perform alterations on filter definitions.
Parameters
$info: Array of information on filters exposed by filter plugins.
Related topics
1 invocation of hook_filter_info_alter()
- FilterPluginManager::__construct in core/
modules/ filter/ src/ FilterPluginManager.php - Constructs a FilterPluginManager object.
File
- core/
modules/ filter/ filter.api.php, line 19 - Hooks provided by the Filter module.
Code
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,
);
}