You are here

function _domain_entity_update_entity_defaut_value_finished in Domain Access Entity 7

Batch operation finished callback.

1 string reference to '_domain_entity_update_entity_defaut_value_finished'
domain_entity_types_enable_domain_field in ./domain_entity.module
Helper function to active domain field on bundles of entity types.

File

./domain_entity.module, line 881
Defines field (e.g. domain_entity) for entities, and access query alter.

Code

function _domain_entity_update_entity_defaut_value_finished($finished, $results) {

  // Restore entity type domain access.
  variable_set('domain_entity_bypass_access_conditions', variable_get('domain_entity_bypass_access_conditions_backup', FALSE));
  variable_del('domain_entity_bypass_access_conditions_backup');
  drupal_set_message(t('%count entities updated.', array(
    '%count' => count($results),
  )));
}