Configuration
variable_del() has been removed.
Documentation
Files Affected
variable_get() has been removed.
Documentation
Files Affected
variable_set() has been removed.
Documentation
Files Affected
Default configuration is deleted automatically.
Files Affected
Entity API
hook_comment_publish() has been removed.
Documentation
Files Affected
Form API
form_set_error() is now a method of FormStateInterface.
Documentation
Files Affected
Info File
Module info files' core key must have a value of 8.x.
Documentation
Files Affected
Info files must contain a type key.
Documentation
Files Affected
Module info files' configure key must be a route name, not a path.
Documentation
Files Affected
Menu/Routing
hook_menu() has been removed from Drupal 8.
Documentation
Files Affected
Miscellaneous
Many common functions, shared variables, and constants have been renamed.
Documentation
Classes must be PSR-4 compliant.
Documentation
Automated web tests must be in a PSR-4 namespace, and unit tests must be converted to PHPUnit.
Documentation
Rendering
hook_page_build() is deprecated and may only be used to alter #attached assets.
Documentation
Files Affected
drupal_add_js() has been removed.
Documentation
Files Affected
System
hook_boot() has been removed.
Documentation
Files Affected
drupal_exit() has been removed.
Documentation
Files Affected
ip_address() has been removed.
Documentation
Files Affected
drupal_json_decode() has moved into the Serialization component.
Documentation
Files Affected
drupal_json_encode() has moved into the Serialization component.
Documentation
Files Affected
get_t() has been removed.
Documentation
Files Affected
url() has been removed.
Documentation
Files Affected
user_access() is now AccountInterface::hasPermission().
Documentation
Files Affected