Sarnia pages are not added to the contextual links for servers at admin/config/search/search_api. This is easily remedied by adding 'context' => MENU_CONTEXT_INLINE | MENU_CONTEXT_PAGE, to the page information in sarnia_menu().

For comparison, see the search_api_solr module's implementation. It does the same thing to add its Files page to the contextual links. Also, see the hook_menu() documentation.

Remember to clear the menu cache after applying the patch.

CommentFileSizeAuthor
sarnia-contextual-link.patch454 bytesdcam
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dcam’s picture

Category: Task » Feature request
jmdeleon’s picture

Patch working for me. Nifty little one :)

  • jmdeleon committed cbbf03b on 7.x-1.x authored by dcam
    Issue #2499037 by dcam: Add Sarnia to the Search API contextual links
    
dcam’s picture

Status: Needs review » Fixed
jmdeleon’s picture

Status: Fixed » Closed (fixed)