custom_formatters.install in Custom Formatters 8.3
Same filename and directory in other branches
Install functions for the Custom Formatters module.
File
custom_formatters.installView source
<?php
/**
* @file
* Install functions for the Custom Formatters module.
*/
/**
* Implements hook_install().
*/
function custom_formatters_install() {
\Drupal::service('plugin.manager.field.formatter')
->clearCachedDefinitions();
}
Functions
Name | Description |
---|---|
custom_formatters_install | Implements hook_install(). |