You are here

function uc_catalog_install in Ubercart 8.4

Same name and namespace in other branches
  1. 5 uc_catalog/uc_catalog.install \uc_catalog_install()
  2. 6.2 uc_catalog/uc_catalog.install \uc_catalog_install()

Implements hook_install().

File

uc_catalog/uc_catalog.install, line 15
Install, update and uninstall functions for the uc_catalog module.

Code

function uc_catalog_install() {
  foreach (uc_product_types() as $type) {
    uc_catalog_add_node_type($type);
  }
  uc_catalog_add_image_field();
}