function custom_formatters_install in Custom Formatters 8.3
Same name and namespace in other branches
- 6 custom_formatters.install \custom_formatters_install()
Implements hook_install().
File
- ./
custom_formatters.install, line 11 - Install functions for the Custom Formatters module.
Code
function custom_formatters_install() {
\Drupal::service('plugin.manager.field.formatter')
->clearCachedDefinitions();
}