commerce_pricelist_feeds.install in Commerce Pricelist 7
Install for a basic entity - need to create the base table for our entity. This table can have as many columns as you need to keep track of entity-specific data that will not be added via attached fields. The minimum information for the entity to work is an id and an entity name.
File
commerce_pricelist_feeds/commerce_pricelist_feeds.installView source
<?php
/**
* @file
* Install for a basic entity - need to create the base table for our entity.
* This table can have as many columns as you need to keep track of
* entity-specific data that will not be added via attached fields.
* The minimum information for the entity to work is an id and an entity name.
*/
/*
* Implement hook_enable().
*/
function commerce_pricelist_feeds_enable() {
// Clear the cache to display in Feeds as available plugin.
cache_clear_all('plugins:feeds:plugins', 'cache');
}
Functions
Name | Description |
---|---|
commerce_pricelist_feeds_enable |