You are here

protected function ScaldAtomController::attachLoad in Scald: Media Management made easy 7

Overrides DrupalDefaultEntityController::attachLoad().

Overrides DrupalDefaultEntityController::attachLoad

File

includes/ScaldAtomController.inc, line 17
This file contains the Scald Atom controller.

Class

ScaldAtomController
Controller class for Scald Atoms.

Code

protected function attachLoad(&$atoms, $revision_id = FALSE) {
  foreach ($atoms as $atom) {
    $atom->data = unserialize($atom->data);
  }
  parent::attachLoad($atoms, $revision_id);
}