You are here

function timeline_bookmark_search in MediaFront 7.2

Search for a timeline bookmark provided the account, entity_type, id, and mediatime.

Parameters

type $account:

type $entity_type:

type $entity_id:

type $mediatime:

Return value

null

1 call to timeline_bookmark_search()
timeline_bookmark_delete_confirm in modules/timeline_bookmark/timeline_bookmark.module
Confirmation page for the timeline bookmark delete.

File

modules/timeline_bookmark/timeline_bookmark.module, line 123

Code

function timeline_bookmark_search($account, $entity_type, $entity_id, $mediatime) {

  // Setup our bookmark object.
  if ($bookmark = timeline_bookmark_get_bookmark($account, $entity_type, $entity_id, $mediatime)) {

    // Return the timeline bookmark.
    return timeline_bookmark_get($bookmark);
  }

  // Return null;
  return null;
}