You are here

function domain_features_export_set_wipe_tables in Domain Access 7.3

Tells Features export how to set a wipe/rebuild statement in the $data.

Parameters

&$export: The feature component $export array, passed by reference.

$data: The data for the feature.

$type: A string indicating the type of domain data to export.

4 calls to domain_features_export_set_wipe_tables()
domain_alias_features_export in domain_alias/domain_alias.features.inc
Implements hook_features_export().
domain_conf_features_export in domain_conf/domain_conf.features.inc
Implements hook_features_export().
domain_features_export in ./domain.features.inc
Implements hook_features_export().
domain_theme_features_export in domain_theme/domain_theme.features.inc
Implements hook_features_export().

File

./domain.module, line 3969
Core module functions for the Domain Access suite.

Code

function domain_features_export_set_wipe_tables(&$export, $data, $type) {
  if (in_array('wipe-domain-tables', $data)) {
    $export['features'][$type]['wipe-domain-tables'] = 'wipe-domain-tables';
  }
}