Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

If you were running any queries against the {system} table, these won't work any more. For example:
Drupal 7:

  // Enable the admin theme.
  db_update('system')
    ->fields(array('status' => 1))
    ->condition('type', 'theme')
    ->condition('name', 'seven')
    ->execute();

Drupal 8:

  theme_enable(array('seven'));

Setting module weights:
Drupal 7:

  // Set a module's weight.
  db_update('system')
    ->fields(array('weight' => $weight))
    ->condition('name', $mymodule)
    ->execute();

Drupal 8:

  module_set_weight($mymodule, $weight);

To set a module's weight relative to another, a module_get_weight function is planned.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done

Comments

amitgoyal’s picture

I have created a patch for Coder Review module #1816302: Code Review 7.x-1.2 to 8.x-1.x Patch so that anybody can use it to do the code review in D8.

Actually I needed this to do one of the task mentioned here - #1518116: [meta] Make Core pass Coder Review. This might be useful to others as well.