You are here

function facebook_publication_type_load in Facebook Autopost 7

Menu argument loader; Load a Facebook publication type by string.

Parameters

string $type: The machine-readable name of a Facebook publication type to load.

Return value

array A Facebook publication type array or FALSE if $type does not exist.

File

fb_autopost_entity/fb_autopost_entity.module, line 143
Module implementation file

Code

function facebook_publication_type_load($type) {
  return facebook_publication_get_types($type);
}