You are here

function facebook_publication_save in Facebook Autopost 7

Saves a Facebook publication to the database.

Parameters

FacebookPublicationEntity $publication: The FacebookPublicationEntity object.

1 call to facebook_publication_save()
hook_fb_autopost_publication_entity_publish in ./fb_autopost.api.php
Implements hook_fb_autopost_publication_entity_publish().

File

fb_autopost_entity/fb_autopost_entity.module, line 265
Module implementation file

Code

function facebook_publication_save(FacebookPublicationEntity $publication) {
  return $publication
    ->save();
}