Example #1
0
 /**
  * Get all the complex data for the loader.
  * This return value will be cached and stored in the database
  * There is no file monitoring for this cache
  *
  * @param Loader $loader
  * @param int    $type
  *
  * @return array
  */
 public function prepareLoader(Loader $loader, $type)
 {
     if ($type !== LoaderInterface::EXT_TABLES) {
         return [];
     }
     SmartObjectManager::checkAndCreateTcaInformation();
     // no preparations, because the smart objects fill the register
     return [];
 }