variable_get()
has been removed.variable_set()
has been removed.drupal_write_record()
has been removed.entity_save()
has been removed.node_load()
has been removed.node_save()
has been removed.form_error()
is now a method of FormStateInterface
.form_set_error()
is now a method of FormStateInterface
.core
key must have a value of 8.x
.type
key.hook_menu()
has been removed from Drupal 8.hook_menu()
replacedMODULE.routing.yml
MODULE.links.contextual.yml
MODULE.links.action.yml
MODULE.links.task.yml
MODULE.links.menu.yml
getInfo()
in test classes replaced by doc comments$modules
property declaring dependenciesKernelTestBase
class for API-level integration testsdrupal_add_css()
has been removed.drupal_add_css()
, drupal_add_js()
and drupal_add_library()
removed in favor of #attached
AssetResolverInterface
and AttachedAssetsInterface
replace internal Asset API functionsdrupal_add_js()
has been removed.drupal_add_css()
, drupal_add_js()
and drupal_add_library()
removed in favor of #attached
AssetResolverInterface
and AttachedAssetsInterface
replace internal Asset API functionsconf_path()
has been removed.drupal_goto()
has been removed.drupal_http_request()
has been replaced by Guzzle.drupal_chmod()
is now a method of the file_system
service.drupal_realpath()
is now a method of the file_system
service.file_uri_scheme()
is now a method of the file_system
service.l()
has been removed.module_invoke_all()
is now a method of the module_handler
service.file_get_stream_wrappers()
has been removed.get_t()
has been removed.url()
has been removed.watchdog()
has been removed.MODULE.permissions.yml
.This issue can be fixed automatically.