You are here

function fb_autopost_entity_menu in Facebook Autopost 7

Implements hook_menu().

File

fb_autopost_entity/fb_autopost_entity.module, line 11
Module implementation file

Code

function fb_autopost_entity_menu() {
  $items['facebook-publication/%facebook_publication'] = array(
    'title callback' => 'facebook_publication_title',
    'title arguments' => array(
      1,
    ),
    'page callback' => 'facebook_publication_view',
    'page arguments' => array(
      1,
    ),
    'access callback' => 'facebook_publication_access',
    'access arguments' => array(
      'view',
      1,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}