diff --git a/ds.module b/ds.module
index 02fed8b..351c8e1 100644
--- a/ds.module
+++ b/ds.module
@@ -49,111 +49,8 @@ function ds_hook_info() {
  * Implements hook_menu().
  */
 function ds_menu() {
-  $items = array();
-
-  // Layout overview.
-  $items['admin/structure/ds'] = array(
-    'title' => 'Display Suite',
-    'description' => 'Manage layouts for entities and configure fields, view modes etc.',
-    'page callback' => 'ds_layout_list',
-    'file' => 'includes/ds.displays.inc',
-    'access arguments' => array('admin_display_suite'),
-  );
-
-  // Layout overview, primary tab.
-  $items['admin/structure/ds/list'] = array(
-    'title' => 'Displays',
-    'weight' => -10,
-    'type' => MENU_DEFAULT_LOCAL_TASK,
-  );
-
-  // Layout overview, secondary tab.
-  $items['admin/structure/ds/list/list'] = array(
-    'title' => 'List',
-    'weight' => -10,
-    'type' => MENU_DEFAULT_LOCAL_TASK,
-  );
-
-  // Emergency page
-  $items['admin/structure/ds/list/emergency'] = array(
-    'title' => 'Emergency',
-    'description' => 'In case you have errors via Display Suite, visit this page.',
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('ds_emergency'),
-    'access arguments' => array('admin_display_suite'),
-    'file' => 'includes/ds.displays.inc',
-    'type' => MENU_LOCAL_TASK,
-    'weight' => 100,
-  );
-
-  // Change layout.
-  $items['admin/structure/ds/change-layout'] = array(
-    'title' => 'Change layout',
-    'description' => 'Act on layout change to move fields elsewhere',
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('ds_field_ui_layout_change'),
-    'access arguments' => array('admin_display_suite'),
-    'file' => 'includes/ds.field_ui.inc',
-    'type' => MENU_VISIBLE_IN_BREADCRUMB,
-  );
-
-  // Revert layout.
-  $items['admin/structure/ds/revert-layout'] = array(
-    'title' => 'Revert layout',
-    'description' => 'Revert layout and field settings.',
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('ds_revert_layout_field_settings_form'),
-    'file' => 'includes/ds.field_ui.inc',
-    'access arguments' => array('admin_display_suite'),
-    'type' => MENU_VISIBLE_IN_BREADCRUMB,
-  );
-
-  // CTools content.
-  $items['admin/structure/ds/fields/manage_ctools/content'] = array(
-    'title' => 'Ctools field content',
-    'page callback' => 'ds_ctools_content',
-    'file' => 'includes/ds.field_ui.inc',
-    'access arguments' => array('admin_display_suite'),
-    'type' => MENU_CALLBACK,
-  );
-
-  // Contextual links.
-  if (module_exists('contextual') && module_exists('field_ui')) {
-    $items['node/%node/display'] = array(
-      'title' => 'Manage display',
-      'description' => 'Manage display of this content.',
-      'page callback' => 'ds_contextual_page_tab',
-      'page arguments' => array(1, 'node'),
-      'file' => 'includes/ds.contextual.inc',
-      'access arguments' => array('administer content types'),
-      'type' => MENU_LOCAL_TASK,
-    );
-
-    $items['user/%user/display'] = array(
-      'title' => 'Manage display',
-      'description' => 'Manage display of this user profile.',
-      'page callback' => 'ds_contextual_page_tab',
-      'page arguments' => array(1, 'user'),
-      'file' => 'includes/ds.contextual.inc',
-      'access arguments' => array('administer users'),
-      'type' => MENU_LOCAL_TASK,
-    );
-
-    if (module_exists('taxonomy')) {
-      $items['taxonomy/term/%taxonomy_term/display'] = array(
-        'title' => 'Manage display',
-        'description' => 'Manage display of this term.',
-        'page callback' => 'ds_contextual_page_tab',
-        'page arguments' => array(2, 'taxonomy_term'),
-        'access arguments' => array('administer taxonomy'),
-        'type' => MENU_LOCAL_TASK,
-        'weight' => 11,
-        'file' => 'includes/ds.contextual.inc',
-      );
-    }
-  }
-
-  return $items;
+  module_load_include('inc', 'ds', 'includes/ds.registry');
+  return _ds_menu();
 }
 
 /**
@@ -479,6 +376,11 @@ function ds_get_field_settings($entity_type, $bundle, $view_mode, $default = TRU
       ctools_include('export');
       $ds_field_settings = ctools_export_crud_load_all('ds_field_settings');
       foreach ($ds_field_settings as $layout => $layout_settings) {
+        // Do not store configuration when the field settings is disabled.
+        if (!empty($layout_settings->disabled)) {
+          continue;
+        }
+        // Do not store configuration if settings key is not set.
         if (!isset($layout_settings->settings)) {
           continue;
         }
diff --git a/includes/ds.field_ui.inc b/includes/ds.field_ui.inc
index edc0d53..82f102b 100644
--- a/includes/ds.field_ui.inc
+++ b/includes/ds.field_ui.inc
@@ -109,6 +109,105 @@ function ds_field_ui_create_vertical_tabs(&$form) {
 }
 
 /**
+ * Menu callback: Disable layout and field settings form.
+ */
+function ds_disable_layout_field_settings_form($form, &$form_state, $id = '') {
+  $layout = new stdClass();
+  ctools_include('export');
+  $ds_layout_settings = ctools_export_crud_load_all('ds_layout_settings');
+  if (isset($ds_layout_settings[$id])) {
+    $layout = $ds_layout_settings[$id];
+  }
+
+  if (isset($layout) && $layout->export_type != 1 && empty($layout->disable)) {
+    $form['#layout'] = $layout;
+    $form['#export_id'] = $id;
+    return confirm_form($form,
+      t('Are you sure you want to disable the layout and field settings for %layout?', array('%layout' => implode(', ', explode('|', $layout->id)))),
+      drupal_get_destination(),
+      t('This action cannot be undone.'),
+      t('Disable'),
+      t('Cancel')
+    );
+  }
+  else {
+    drupal_set_message(t('This operation is not possible.'));
+  }
+}
+
+/**
+ * Submit callback: disable layout and field settings.
+ */
+function ds_disable_layout_field_settings_form_submit(&$form, &$form_state) {
+  $layout = $form['#layout'];
+
+  ctools_include('export');
+  ctools_export_crud_disable('ds_layout_settings', $form['#export_id']);
+  ctools_export_crud_disable('ds_field_settings', $form['#export_id']);
+  // @todo layout fields
+
+  // Clear the ds_fields cache.
+  cache_clear_all('ds_fields:', 'cache', TRUE);
+  cache_clear_all('ds_field_settings', 'cache');
+
+  // Clear entity info cache.
+  cache_clear_all('entity_info', 'cache', TRUE);
+
+  drupal_set_message(t('Layout has been disabled.'));
+
+  $form_state['redirect'] = isset($_GET['destination']) ? $_GET['destination'] : drupal_get_destination();
+}
+
+/**
+ * Menu callback: Enable layout and field settings form.
+ */
+function ds_enable_layout_field_settings_form($form, &$form_state, $id = '') {
+  $layout = new stdClass();
+  ctools_include('export');
+  $ds_layout_settings = ctools_export_crud_load_all('ds_layout_settings');
+  if (isset($ds_layout_settings[$id])) {
+    $layout = $ds_layout_settings[$id];
+  }
+
+  if (isset($layout) && $layout->export_type != 1 && !empty($layout->disabled)) {
+    $form['#layout'] = $layout;
+    $form['#export_id'] = $id;
+    return confirm_form($form,
+      t('Are you sure you want to enable the layout and field settings for %layout?', array('%layout' => implode(', ', explode('|', $layout->id)))),
+      drupal_get_destination(),
+      t('This action cannot be undone.'),
+      t('Enable'),
+      t('Cancel')
+    );
+  }
+  else {
+    drupal_set_message(t('This operation is not possible.'));
+  }
+}
+
+/**
+ * Submit callback: enable layout and field settings.
+ */
+function ds_enable_layout_field_settings_form_submit(&$form, &$form_state) {
+  $layout = $form['#layout'];
+
+  ctools_include('export');
+  ctools_export_crud_enable('ds_layout_settings', $form['#export_id']);
+  ctools_export_crud_enable('ds_field_settings', $form['#export_id']);
+
+  // Clear the ds_fields cache.
+  cache_clear_all('ds_fields:', 'cache', TRUE);
+  cache_clear_all('ds_field_settings', 'cache');
+
+  // Clear entity info cache.
+  cache_clear_all('entity_info', 'cache', TRUE);
+
+  drupal_set_message(t('Layout has been enabled'));
+
+  $form_state['redirect'] = isset($_GET['destination']) ? $_GET['destination'] : drupal_get_destination();
+}
+
+/**
  * Menu callback: Revert layout and field settings form.
  */
 function ds_revert_layout_field_settings_form($form, &$form_state, $id = '') {
@@ -1477,17 +1576,34 @@ function _ds_field_ui_table_layouts($entity_type, $bundle, $view_mode, &$form, $
     $layout = $ds_layout_settings[$form['#export_id']];
   }
 
-  if (!empty($layout) && isset($layout->layout) && isset($ds_layouts[$layout->layout])) {
+  if (!empty($layout) && isset($layout->layout) && isset($ds_layouts[$layout->layout]) && empty($layout->disabled)) {
     $layout->settings = $layout->settings;
     $layout->regions = $ds_layouts[$layout->layout]['regions'];
     $form['#ds_layout'] = $layout;
   }
 
-  if (isset($layout->export_type) && $layout->export_type == 3) {
-    $form['additional_settings']['ds_layouts']['revert'] = array(
-      '#markup' => l(t('This layout is overridden. Click to revert to default settings.'), 'admin/structure/ds/revert-layout/' . $form['#export_id'], array('query' => drupal_get_destination())),
-      '#weight' => 1,
+
+  // The layout is defined in code.
+  if (isset($layout->export_type)) {
+    // Enabled/disable the layout.
+    if (empty($layout->disabled)) {
+      $link = t('This layout is defined in code') . ': ' . l(t('disable layout.'), 'admin/structure/ds/disable/' . $form['#export_id'], array('query' => drupal_get_destination()));
+    }
+    else {
+      $link = t('A layout is defined in code but has been disabled') . ': ' . l(t('enable layout.'), 'admin/structure/ds/enable/' . $form['#export_id'], array('query' => drupal_get_destination()));
+    }
+    $form['additional_settings']['ds_layouts']['enable_disable'] = array(
+      '#markup' => $link,
+      '#weight' => 2,
     );
+
+    // Overridden in database.
+    if ($layout->export_type == 3) {
+      $form['additional_settings']['ds_layouts']['revert'] = array(
+        '#markup' => l(t('This layout is overridden. Click to revert to default settings.'), 'admin/structure/ds/revert-layout/' . $form['#export_id'], array('query' => drupal_get_destination())),
+        '#weight' => 1,
+      );
+    }
   }
 
   // Load the layout preview form
@@ -1645,7 +1761,11 @@ function _ds_field_ui_table_layouts($entity_type, $bundle, $view_mode, &$form, $
           continue;
         }
         if ($row->entity_type == $entity_type && $row->bundle == $bundle) {
-          $options[$row->id] = drupal_ucfirst(str_replace('_', ' ', $row->entity_type)) . ' > ' . drupal_ucfirst(str_replace('_', ' ', $row->bundle)) . ' > ' . drupal_ucfirst(str_replace('_', ' ', $row->view_mode));
+          $name = drupal_ucfirst(str_replace('_', ' ', $row->entity_type)) . ' > ' . drupal_ucfirst(str_replace('_', ' ', $row->bundle)) . ' > ' . drupal_ucfirst(str_replace('_', ' ', $row->view_mode));
+          if (!empty($row->disabled)) {
+            $name .= ' ' . t('(disabled)');
+          }
+          $options[$row->id] = $name;
         }
       }
 
@@ -1718,7 +1838,7 @@ function _ds_field_ui_table_layouts_preview(&$form, &$form_state, $ds_layouts, $
     '#type' => 'select',
     '#title' => t('Select a layout'),
     '#options' => $layout->layout_options,
-    '#default_value' => isset($layout->layout) ? $layout->layout : '',
+    '#default_value' => isset($layout->layout) && empty($layout->disabled) ? $layout->layout : '',
     '#prefix' => '<div class="ds-select-layout">',
     '#suffix' => '</div>',
     '#weight' => -1,
diff --git a/includes/ds.registry.inc b/includes/ds.registry.inc
index 8ba05b9..4f8ecef 100644
--- a/includes/ds.registry.inc
+++ b/includes/ds.registry.inc
@@ -6,6 +6,139 @@
  */
 
 /**
+ * Implements hook_menu().
+ */
+function _ds_menu() {
+  $items = array();
+
+  // Layout overview.
+  $items['admin/structure/ds'] = array(
+    'title' => 'Display Suite',
+    'description' => 'Manage layouts for entities and configure fields, view modes etc.',
+    'page callback' => 'ds_layout_list',
+    'file' => 'includes/ds.displays.inc',
+    'access arguments' => array('admin_display_suite'),
+  );
+
+  // Layout overview, primary tab.
+  $items['admin/structure/ds/list'] = array(
+    'title' => 'Displays',
+    'weight' => -10,
+    'type' => MENU_DEFAULT_LOCAL_TASK,
+  );
+
+  // Layout overview, secondary tab.
+  $items['admin/structure/ds/list/list'] = array(
+    'title' => 'List',
+    'weight' => -10,
+    'type' => MENU_DEFAULT_LOCAL_TASK,
+  );
+
+  // Emergency page
+  $items['admin/structure/ds/list/emergency'] = array(
+    'title' => 'Emergency',
+    'description' => 'In case you have errors via Display Suite, visit this page.',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('ds_emergency'),
+    'access arguments' => array('admin_display_suite'),
+    'file' => 'includes/ds.displays.inc',
+    'type' => MENU_LOCAL_TASK,
+    'weight' => 100,
+  );
+
+  // Change layout.
+  $items['admin/structure/ds/change-layout'] = array(
+    'title' => 'Change layout',
+    'description' => 'Act on layout change to move fields elsewhere',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('ds_field_ui_layout_change'),
+    'access arguments' => array('admin_display_suite'),
+    'file' => 'includes/ds.field_ui.inc',
+    'type' => MENU_VISIBLE_IN_BREADCRUMB,
+  );
+
+  // Revert layout.
+  $items['admin/structure/ds/revert-layout'] = array(
+    'title' => 'Revert layout',
+    'description' => 'Revert layout and field settings.',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('ds_revert_layout_field_settings_form'),
+    'file' => 'includes/ds.field_ui.inc',
+    'access arguments' => array('admin_display_suite'),
+    'type' => MENU_VISIBLE_IN_BREADCRUMB,
+  );
+
+  // Disable layout.
+  $items['admin/structure/ds/disable'] = array(
+    'title' => 'Disable layout',
+    'description' => 'Disable layout and field settings',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('ds_disable_layout_field_settings_form'),
+    'file' => 'includes/ds.field_ui.inc',
+    'access arguments' => array('admin_display_suite'),
+    'type' => MENU_VISIBLE_IN_BREADCRUMB,
+  );
+
+  // Enable layout.
+  $items['admin/structure/ds/enable'] = array(
+    'title' => 'Enable layout',
+    'description' => 'Enable layout and field settings',
+    'page callback' => 'drupal_get_form',
+    'page arguments' => array('ds_enable_layout_field_settings_form'),
+    'file' => 'includes/ds.field_ui.inc',
+    'access arguments' => array('admin_display_suite'),
+    'type' => MENU_VISIBLE_IN_BREADCRUMB,
+  );
+
+  // CTools content.
+  $items['admin/structure/ds/fields/manage_ctools/content'] = array(
+    'title' => 'Ctools field content',
+    'page callback' => 'ds_ctools_content',
+    'file' => 'includes/ds.field_ui.inc',
+    'access arguments' => array('admin_display_suite'),
+    'type' => MENU_CALLBACK,
+  );
+
+  // Contextual links.
+  if (module_exists('contextual') && module_exists('field_ui')) {
+    $items['node/%node/display'] = array(
+      'title' => 'Manage display',
+      'description' => 'Manage display of this content.',
+      'page callback' => 'ds_contextual_page_tab',
+      'page arguments' => array(1, 'node'),
+      'file' => 'includes/ds.contextual.inc',
+      'access arguments' => array('administer content types'),
+      'type' => MENU_LOCAL_TASK,
+    );
+
+    $items['user/%user/display'] = array(
+      'title' => 'Manage display',
+      'description' => 'Manage display of this user profile.',
+      'page callback' => 'ds_contextual_page_tab',
+      'page arguments' => array(1, 'user'),
+      'file' => 'includes/ds.contextual.inc',
+      'access arguments' => array('administer users'),
+      'type' => MENU_LOCAL_TASK,
+    );
+
+    if (module_exists('taxonomy')) {
+      $items['taxonomy/term/%taxonomy_term/display'] = array(
+        'title' => 'Manage display',
+        'description' => 'Manage display of this term.',
+        'page callback' => 'ds_contextual_page_tab',
+        'page arguments' => array(2, 'taxonomy_term'),
+        'access arguments' => array('administer taxonomy'),
+        'type' => MENU_LOCAL_TASK,
+        'weight' => 11,
+        'file' => 'includes/ds.contextual.inc',
+      );
+    }
+  }
+
+  return $items;
+}
+
+/**
  * Implements hook_theme().
  */
 function _ds_theme() {
@@ -189,15 +322,22 @@ function _ds_entity_info_alter(&$entity_info) {
   $ds_layout_settings = ctools_export_crud_load_all('ds_layout_settings');
   foreach ($ds_layout_settings as $row) {
 
-    // Don't store any configurations with layouts that don't exist anymore.
+    // Don't store any configuration if the layout is disabled.
+    if (!empty($row->disabled)) {
+      continue;
+    }
+
+    // Don't store any configuration with layouts that don't exist anymore.
     if (!isset($ds_layouts[$row->layout])) {
       continue;
     }
 
+    // Don't store any configuration if the entity type is not defined.
     if (!isset($entity_info[$row->entity_type])) {
       continue;
     }
 
+    // Don't store any configuration if the bundle doesn't exist.
     if (!isset($entity_info[$row->entity_type]['bundles'][$row->bundle])) {
       continue;
     }
