Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / filter_info_alter.twig
1 /**
2  * Implements hook_filter_info_alter().
3  */
4 function {{ machine_name }}_filter_info_alter(&$info) {
5   // Replace the PHP evaluator process callback with an improved
6   // PHP evaluator provided by a module.
7   $info['php_code']['process callback'] = 'my_module_php_evaluator';
8
9   // Alter the default settings of the URL filter provided by core.
10   $info['filter_url']['default settings'] = array(
11     'filter_url_length' => 100,
12   );
13 }