Esempio n. 1
0
 /**
  * Save an object in the database.
  *
  * @param ObjectInterface $object
  *   The object to save.
  */
 public static function save(ObjectInterface $object)
 {
     ctools_include('export');
     $configuration = $object->getConfiguration();
     $export = $object->getExport();
     ctools_export_crud_save($configuration['table'], $export);
 }