public function FeedsFetcher::menuItem in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsFetcher.inc \FeedsFetcher::menuItem()
- 7 plugins/FeedsFetcher.inc \FeedsFetcher::menuItem()
Menu item definition for fetchers of this class. Note how the path component in the item definition matches the return value of FeedsFetcher::path().
Requests to this menu item will be routed to FeedsFetcher::request().
Return value
An array where the key is the Drupal menu item path and the value is a valid Drupal menu item definition.
File
- plugins/
FeedsFetcher.inc, line 365 - Contains the FeedsFetcher and related classes.
Class
- FeedsFetcher
- Abstract class, defines shared functionality between fetchers.
Code
public function menuItem() {
return array(
'feeds/importer/%feeds_importer' => array(
'page callback' => 'feeds_fetcher_callback',
'page arguments' => array(
2,
3,
),
'access callback' => TRUE,
'file' => 'feeds.pages.inc',
'type' => MENU_CALLBACK,
),
);
}