DPDK Architecture  ->  Drupal (stable)

MongoDB
>= v2.0.0

Functionalities

  • Provides a data save to MongoDB
  • Auto maps data based on content type settings
  • Provides a way to lookup the current Mongo collections
  • Manages the image save functionality (styles/webp)

Preview

MongoDB Overview:

Mongo Overview Page

MongoDB Collections:

Mongo Collections Page

MongoDB Save Data:

Mongo Save Data Page

MongoDB Image Unlock:

Mongo Image Unlock Page

Hooks

mongo_dashboard_items

Alters the dashboard items before render:

function mongodb_mongo_dashboard_items_alter(&$dashboardItems) {
  // Alterations code here
}

mongodb_collection_table_config

Alters the mongo collection lookup table header:

function mongodb_mongodb_collection_table_config_alter(&$config) {
  // Alterations code here
}

Configuration

$settings['mongo'] = [
    'default' => [
        'host' => 'mongodb://localhost:27017',
        'username' => 'root',
        'password' => 'root',
        'database' => 'test_github_2021'
    ]
];

Routes

  • /admin/mongo
  • /admin/save-data-to-mongo
  • /admin/set-indexes-for-mongo
  • /admin/save-data-to-mongo/report
  • /admin/mongo/collections
  • /admin/mongo/collections/{collectionName}
  • /admin/mongo/collections/{collectionName}/export-json
  • /admin/mongo/image
  • /admin/mongo/image-unlock
Last modifiedFriday, April 30, 2021, 12:00:21 PM UTC
Last authorColin van Eenige
Commit ID4c7a701