You are here

function mongodb_block_menu in MongoDB 7

Implements hook_menu().

File

mongodb_block/mongodb_block.module, line 33
Controls the visual building blocks a page is constructed with.

Code

function mongodb_block_menu() {
  return [
    'admin/structure/block-rebuild' => [
      'title' => 'Block rebuild',
      'description' => 'Rebuilds blocks in MongoDB',
      'page callback' => 'mongodb_block_rehash',
      'access arguments' => [
        'administer site configuration',
      ],
    ],
  ];
}