Révision 9d13637e
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/commerce/tests/commerce_base.test | ||
---|---|---|
238 | 238 |
* FALSE if the appropiate modules were not available. |
239 | 239 |
*/ |
240 | 240 |
public function createDummyProductType($type = 'product_type', $name = 'Product Type', $description = '', $help = '', $append_random = TRUE) { |
241 |
if (module_exists('commerce_product')) { |
|
241 |
if (module_exists('commerce_product_ui')) {
|
|
242 | 242 |
if ($append_random) { |
243 | 243 |
$type = $type .'_'. $this->randomName(20 - strlen($type) - 1); |
244 | 244 |
$name = $name .' '. $this->randomName(40 - strlen($name) - 1); |
Formats disponibles : Unified diff
Weekly update of contrib modules