createPublishingItem(publishingItem) {
         let id = shortid.generate();
         publishingItem.id = id;
         publishingItems[id] = publishingItem;
         return publishingItem;
     }
/**
      * Creates a publishing item.
      * @param publishingItem - The new publishing item. 
      */
Creates a publishing item.
@param publishingItem - The new publishing item.
Creates a publishing item . @param publishingItem - The new publishing item .
createPublishingItem(publishingItem) {
         let id = shortid.generate();
         publishingItem.id = id;
         publishingItems[id] = publishingItem;
         return publishingItem;
     }
createPublishingItem ( publishingItem ) { let id = shortid . generate ( ) ; publishingItem . id = id ; publishingItems [ id ] = publishingItem ; return publishingItem ; }
Creates a publishing item.
Creates a publishing item .