1 field_test.install field_test_install()

Implements hook_install().

File

core/modules/field/tests/field_test/field_test.install, line 11
Install, update and uninstall functions for the field_test module.

Code

function field_test_install() {
  // hook_entity_info_alter() needs to be executed as last.
  module_set_weight('field_test', 1);
  // Clean field cache to properly cache new field.
  field_cache_clear();
}