You are here

function _skinr_skin_import in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 skinr.module \_skinr_skin_import()
2 calls to _skinr_skin_import()
skinr_skin_import in ./skinr.module
Import a skin configuration object as defined in skinr_skin_defaults().
skinr_skin_storage in ./skinr.module
Returns a skin configuration object's storage method.

File

./skinr.module, line 1027
Handles core Skinr functionality.

Code

function _skinr_skin_import(&$skin) {
  if ($sid = skinr_skin_uuid_to_sid($skin->uuid)) {
    $skin->sid = $sid;
  }

  // Let modules modify the skin configuration.
  drupal_alter('skinr_skin_import', $skin);
}