You are here

custom_formatters.install in Custom Formatters 8.3

Same filename and directory in other branches
  1. 6 custom_formatters.install
  2. 7.2 custom_formatters.install

Install functions for the Custom Formatters module.

File

custom_formatters.install
View 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

Namesort descending Description
custom_formatters_install Implements hook_install().