function _skinr_skin_import in Skinr 8.2
Same name and namespace in other branches
- 7.2 skinr.module \_skinr_skin_import()
3 calls to _skinr_skin_import()
- Skin::getStorage in src/
Entity/ Skin.php - 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 869 - 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::moduleHandler()
->alter('skinr_skin_import', $skin);
}