You are here
83 classes are annotated with Converter in Drupal 7 to 8/9 Module Upgrader 8
Blocks in src/ Plugin/ DMU/ Converter/Blocks.php
Plugin annotation
@Converter(
id = "blocks",
description = @Translation("Converts Drupal 7 blocks to plugins."),
hook = {
"hook_block_configure",
"hook_block_info",
"hook_block_save",
"hook_block_view"
},
fixme =…
CacheGet in src/ Plugin/ DMU/ Converter/ Functions/CacheGet.php
Plugin annotation
@Converter(
id = "cache_get",
description = @Translation("Rewrites calls to cache_get().")
)
CacheSet in src/ Plugin/ DMU/ Converter/ Functions/CacheSet.php
Plugin annotation
@Converter(
id = "cache_set",
description = @Translation("Rewrites calls to cache_set().")
)
CommentLoad in src/ Plugin/ DMU/ Converter/ Functions/CommentLoad.php
Plugin annotation
@Converter(
id = "comment_load",
description = @Translation("Rewrites calls to comment_load()."),
fixme = @Translation("comment_load() is now EntityStorageInterface::load().")
)
ContentRoute in src/ Plugin/ DMU/ Routing/ContentRoute.php
Plugin annotation
@Converter(
id = "default",
description = @Translation("Converts a menu item to a _controller route."),
dependencies = { "router.route_provider", "plugin.manager.drupalmoduleupgrader.rewriter" }
)
CToolsGetPlugins in src/ Plugin/ DMU/ Converter/ Functions/CToolsGetPlugins.php
Plugin annotation
@Converter(
id = "ctools_get_plugins",
description = @Translation("Rewrites calls to ctools_get_plugins().")
)
CToolsObjectCacheGet in src/ Plugin/ DMU/ Converter/ Functions/CToolsObjectCacheGet.php
Plugin annotation
@Converter(
id = "ctools_object_cache_get",
description = @Translation("Rewrites calls to ctools_object_cache_get().")
)
CToolsObjectCacheSet in src/ Plugin/ DMU/ Converter/ Functions/CToolsObjectCacheSet.php
Plugin annotation
@Converter(
id = "ctools_object_cache_set",
description = @Translation("Rewrites calls to ctools_object_cache_set().")
)
DB in src/ Plugin/ DMU/ Converter/ Functions/DB.php
Plugin annotation
@Converter(
id = "_db",
deriver = "\Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions\DBDeriver"
)
DbDelete in src/ Plugin/ DMU/ Converter/ Functions/DbDelete.php
Plugin annotation
@Converter(
id = "db_delete",
description = @Translation("Rewrites calls to db_delete ()."),
)
DbInsert in src/ Plugin/ DMU/ Converter/ Functions/DbInsert.php
Plugin annotation
@Converter(
id = "db_insert",
description = @Translation("Rewrites calls to db_insert ()."),
)
DbQuery in src/ Plugin/ DMU/ Converter/ Functions/DbQuery.php
Plugin annotation
@Converter(
id = "db_query",
description = @Translation("Rewrites calls to db_query ()."),
)
DbQueryRange in src/ Plugin/ DMU/ Converter/ Functions/DbQueryRange.php
Plugin annotation
@Converter(
id = "db_query_range",
description = @Translation("Rewrites calls to db_query_range ()."),
)
DbQueryTemporary in src/ Plugin/ DMU/ Converter/ Functions/DbQueryTemporary.php
Plugin annotation
@Converter(
id = "db_query_temporary",
description = @Translation("Rewrites calls to db_query_temporary ()."),
)
DbSelect in src/ Plugin/ DMU/ Converter/ Functions/DbSelect.php
Plugin annotation
@Converter(
id = "db_select",
description = @Translation("Rewrites calls to db_select ()."),
)
DbUpdate in src/ Plugin/ DMU/ Converter/ Functions/DbUpdate.php
Plugin annotation
@Converter(
id = "db_update",
description = @Translation("Rewrites calls to db_update ()."),
)
Disable in src/ Plugin/ DMU/ Converter/ Functions/Disable.php
Plugin annotation
@Converter(
id = "_disable",
deriver = "Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions\DisableDeriver"
)
DrupalGetTitle in src/ Plugin/ DMU/ Converter/ Functions/DrupalGetTitle.php
Plugin annotation
@Converter(
id = "drupal_get_title",
description = @Translation("Rewrites calls to drupal_get_title().")
)
DrupalIsCLI in src/ Plugin/ DMU/ Converter/ Functions/DrupalIsCLI.php
Plugin annotation
@Converter(
id = "drupal_is_cli",
description = @Translation("Rewrites calls to drupal_is_cli().")
)
DrupalMapAssoc in src/ Plugin/ DMU/ Converter/ Functions/DrupalMapAssoc.php
Plugin annotation
@Converter(
id = "drupal_map_assoc",
description = @Translation("Rewrites calls to drupal_map_assoc().")
)
DrupalMessageGet in src/ Plugin/ DMU/ Converter/ Functions/DrupalMessageGet.php
Plugin annotation
@Converter(
id = "drupal_get_messages",
description = @Translation("Rewrites calls to drupal_get_messages ()."),
)
DrupalMessageSet in src/ Plugin/ DMU/ Converter/ Functions/DrupalMessageSet.php
Plugin annotation
@Converter(
id = "drupal_set_message",
description = @Translation("Rewrites calls to drupal_set_message ()."),
)
DrupalWriteRecord in src/ Plugin/ DMU/ Converter/ Functions/DrupalWriteRecord.php
Plugin annotation
@Converter(
id = "drupal_write_record",
description = @Translation("Rewrites calls to drupal_write_record().")
)
EntityCreate in src/ Plugin/ DMU/ Converter/ Functions/EntityCreate.php
Plugin annotation
@Converter(
id = "entity_create",
description = @Translation("Rewrites calls to entity_create ().")
)
EntityGetInfo in src/ Plugin/ DMU/ Converter/ Functions/EntityGetInfo.php
Plugin annotation
@Converter(
id = "entity_get_info",
description = @Translation("Rewrites calls to entity_get_info().")
)
EntityHooks in src/ Plugin/ DMU/ Converter/EntityHooks.php
Plugin annotation
@Converter(
id = "entity_hooks",
description = @Translation("Rewrites various entity-related hooks."),
hook = {
"hook_comment_delete",
"hook_comment_insert",
"hook_comment_presave",
"hook_comment_update",
…
EntityLoad in src/ Plugin/ DMU/ Converter/ Functions/EntityLoad.php
Plugin annotation
@Converter(
id = "entity_load",
description = @Translation("Rewrites calls to entity_load ().")
)
EntityOperation in src/ Plugin/ DMU/ Converter/ Functions/EntityOperation.php
Plugin annotation
@Converter(
id = "_entity_operation",
deriver = "Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions\EntityOperationDeriver"
)
FieldInfoFieldTypes in src/ Plugin/ DMU/ Converter/ Functions/FieldInfoFieldTypes.php
Plugin annotation
@Converter(
id = "field_info_field_types",
description = @Translation("Rewrites calls to field_info_field_types().")
)
FieldInfoFormatterTypes in src/ Plugin/ DMU/ Converter/ Functions/FieldInfoFormatterTypes.php
Plugin annotation
@Converter(
id = "field_info_formatter_types",
description = @Translation("Rewrites calls to field_info_formatter_types().")
)
FieldInfoWidgetTypes in src/ Plugin/ DMU/ Converter/ Functions/FieldInfoWidgetTypes.php
Plugin annotation
@Converter(
id = "field_info_widget_types",
description = @Translation("Rewrites calls to field_info_widget_types().")
)
FieldUpdateField in src/ Plugin/ DMU/ Converter/ Functions/FieldUpdateField.php
Plugin annotation
@Converter(
id = "field_update_field",
description = @Translation("Rewrites calls to field_update_field().")
)
FieldUpdateInstance in src/ Plugin/ DMU/ Converter/ Functions/FieldUpdateInstance.php
Plugin annotation
@Converter(
id = "field_update_instance",
description = @Translation("Rewrites calls to field_update_instance().")
)
FieldViewField in src/ Plugin/ DMU/ Converter/ Functions/FieldViewField.php
Plugin annotation
@Converter(
id = "field_view_field",
description = @Translation("Rewrites calls to field_view_field().")
)
FieldViewValue in src/ Plugin/ DMU/ Converter/ Functions/FieldViewValue.php
Plugin annotation
@Converter(
id = "field_view_value",
description = @Translation("Rewrites calls to field_view_value().")
)
FormExecuteHandlers in src/ Plugin/ DMU/ Converter/ Functions/FormExecuteHandlers.php
Plugin annotation
@Converter(
id = "form_execute_handlers",
description = @Translation("Rewrites calls to form_execute_handlers()."),
fixme = @Translation("form_execute_handlers() has been split into the executeValidateHandlers() and…
FormLoadInclude in src/ Plugin/ DMU/ Converter/ Functions/FormLoadInclude.php
Plugin annotation
@Converter(
id = "form_load_include",
description = @Translation("Rewrites calls to form_load_include().")
)
FormRoute in src/ Plugin/ DMU/ Routing/FormRoute.php
Plugin annotation
@Converter(
id = "drupal_get_form",
description = @Translation("Converts a drupal_get_form() menu item to a _form route."),
dependencies = { "router.route_provider", "plugin.manager.drupalmoduleupgrader.rewriter",…
FormSetValue in src/ Plugin/ DMU/ Converter/ Functions/FormSetValue.php
Plugin annotation
@Converter(
id = "form_set_value",
description = @Translation("Rewrites calls to form_set_value().")
)
FormStateDefaults in src/ Plugin/ DMU/ Converter/ Functions/FormStateDefaults.php
Plugin annotation
@Converter(
id = "form_state_defaults",
description = @Translation("Rewrites calls to form_state_defaults().")
)
FormStateValuesClean in src/ Plugin/ DMU/ Converter/ Functions/FormStateValuesClean.php
Plugin annotation
@Converter(
id = "form_state_values_clean",
description = @Translation("Rewrites calls to form_state_values_clean().")
)
GetT in src/ Plugin/ DMU/ Converter/ Functions/GetT.php
Plugin annotation
@Converter(
id = "get_t",
description = @Translation("Rewrites calls to get_t().")
)
Grep in src/ Plugin/ DMU/ Converter/Grep.php
Plugin annotation
@Converter(
id = "grep",
description = @Translation("Searches for and replaces commonly-used code that has changed in Drupal 8.")
)
HookBoot in src/ Plugin/ DMU/ Converter/HookBoot.php
Plugin annotation
@Converter(
id = "hook_boot",
description = @Translation("Converts Drupal 7's hook_boot() to an EventSubscriber."),
hook = "hook_boot"
)
HookEntityInfo in src/ Plugin/ DMU/ Converter/HookEntityInfo.php
Plugin annotation
@Converter(
id = "hook_entity_info",
description = @Translation("Creates entity class boilerplate from hook_entity_info()."),
hook = "hook_entity_info"
)
HookEntityTypeView in src/ Plugin/ DMU/ Converter/HookEntityTypeView.php
Plugin annotation
@Converter(
id = "hook_ENTITY_TYPE_view",
description = @Translation("Converts implementations of hook_ENTITY_TYPE_view ()."),
hook = {
"hook_comment_view",
"hook_node_view",
"hook_taxonomy_term_view",
…
HookExit in src/ Plugin/ DMU/ Converter/HookExit.php
Plugin annotation
@Converter(
id = "hook_exit",
description = @Translation("Converts Drupal 7's hook_exit() to an EventSubscriber."),
hook = "hook_exit"
)
HookFieldAttachCreateBundle in src/ Plugin/ DMU/ Converter/HookFieldAttachCreateBundle.php
Plugin annotation
@Converter(
id = "hook_field_attach_create_bundle",
description = @Translation("Renames hook_field_attach_create_bundle()."),
hook = "hook_field_attach_create_bundle"
)
HookFieldAttachDeleteBundle in src/ Plugin/ DMU/ Converter/HookFieldAttachDeleteBundle.php
Plugin annotation
@Converter(
id = "hook_field_attach_delete_bundle",
description = @Translation("Adds a FIXME notice to hook_field_attach_delete_bundle()."),
hook = "hook_field_attach_delete_bundle",
fixme =…
HookFieldAttachRenameBundle in src/ Plugin/ DMU/ Converter/HookFieldAttachRenameBundle.php
Plugin annotation
@Converter(
id = "hook_field_attach_rename_bundle",
description = @Translation("Renames hook_field_attach_rename_bundle()."),
hook = "hook_field_attach_rename_bundle"
)
HookFieldFormatterInfo in src/ Plugin/ DMU/ Converter/HookFieldFormatterInfo.php
Plugin annotation
@Converter(
id = "hook_field_formatter_info",
description = @Translation("Creates formatter class templates from hook_field_formatter_info()."),
hook = "hook_field_formatter_info"
)
HookFieldWidgetInfo in src/ Plugin/ DMU/ Converter/HookFieldWidgetInfo.php
Plugin annotation
@Converter(
id = "hook_field_widget_info",
description = @Translation("Creates formatter class templates from hook_field_widget_info()."),
hook = "hook_field_widget_info"
)
HookFormAlter in src/ Plugin/ DMU/ Converter/HookFormAlter.php
Plugin annotation
@Converter(
id = "hook_form_alter",
description = @Translation("Corrects hook_form_alter () function signatures.")
)
HookInit in src/ Plugin/ DMU/ Converter/HookInit.php
Plugin annotation
@Converter(
id = "hook_init",
description = @Translation("Converts Drupal 7's hook_init() to an EventSubscriber."),
hook = "hook_init"
)
HookLibrary in src/ Plugin/ DMU/ Converter/HookLibrary.php
Plugin annotation
@Converter(
id = "hook_library",
description = @Translation("Converts Drupal 7's hook_library() to YAML."),
hook = "hook_library"
)
HookMenuAlter in src/ Plugin/ DMU/ Converter/HookMenuAlter.php
Plugin annotation
@Converter(
id = "hook_menu_alter",
description = @Translation("Creates boilerplate for logic that formerly belonged in hook_menu_alter()."),
hook = "hook_menu_alter",
fixme = @Translation("hook_menu_alter() is gone in Drupal 8.…
HookNodePrepare in src/ Plugin/ DMU/ Converter/HookNodePrepare.php
Plugin annotation
@Converter(
id = "hook_node_prepare",
description = @Translation("Converts hook_node_prepare() into hook_ENTITY_TYPE_prepare_form ()."),
hook = "hook_node_prepare",
dependencies = { "plugin.manager.drupalmoduleupgrader.rewriter" }
)
HookPermission in src/ Plugin/ DMU/ Converter/HookPermission.php
Plugin annotation
@Converter(
id = "hook_permission",
description = @Translation("Converts static implementations of hook_permission() to YAML."),
hook = "hook_permission"
)
HookURLOutboundAlter in src/ Plugin/ DMU/ Converter/HookURLOutboundAlter.php
Plugin annotation
@Converter(
id = "hook_url_outbound_alter",
description = @Translation("Converts hook_url_outbound_alter() to a service."),
hook = "hook_url_outbound_alter"
)
HookUserLogin in src/ Plugin/ DMU/ Converter/HookUserLogin.php
Plugin annotation
@Converter(
id = "hook_user_login",
description = @Translation("Alters signatures of hook_user_login () implementations."),
hook = "hook_user_login",
dependencies = { "plugin.manager.drupalmoduleupgrader.rewriter" }
)
HookWatchdog in src/ Plugin/ DMU/ Converter/HookWatchdog.php
Plugin annotation
@Converter(
id = "hook_watchdog",
description = @Translation("Converts hook_watchdog() to an implementation of \\Psr\\Log\\LoggerInterface."),
hook = "hook_watchdog"
)
InfoToYAML in src/ Plugin/ DMU/ Converter/InfoToYAML.php
Plugin annotation
@Converter(
id = "info",
description = @Translation("Converts Drupal 7 info files to Drupal 8.")
)
L in src/ Plugin/ DMU/ Converter/ Functions/L.php
Plugin annotation
@Converter(
id = "l",
description = @Translation("Rewrites calls to l()."),
fixme = @Translation("l() expects a Url object, created from a route name or external URI."),
dependencies = { "router.route_provider" }
)
Links in src/ Plugin/ DMU/ Converter/Links.php
Plugin annotation
@Converter(
id = "links",
description = @Translation("Converts Drupal 7's hook_menu() links to plugin definitions."),
hook = "hook_menu",
fixme = @Translation("@FIXME
This implementation of hook_menu() cannot be automatically…
LoadMultiple in src/ Plugin/ DMU/ Converter/ Functions/LoadMultiple.php
Plugin annotation
@Converter(
id = "_load_multiple",
deriver = "\Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions\LoadMultipleDeriver"
)
ModuleInvoke in src/ Plugin/ DMU/ Converter/ Functions/ModuleInvoke.php
Plugin annotation
@Converter(
id = "module_invoke",
description = @Translation("Rewrites calls to module_invoke().")
)
ModuleInvokeAll in src/ Plugin/ DMU/ Converter/ Functions/ModuleInvokeAll.php
Plugin annotation
@Converter(
id = "module_invoke_all",
description = @Translation("Rewrites calls to module_invoke_all().")
)
NodeLoad in src/ Plugin/ DMU/ Converter/ Functions/NodeLoad.php
Plugin annotation
@Converter(
id = "node_load",
description = @Translation("Rewrites calls to node_load ()."),
fixme = @Translation("node_load() is now EntityStorageInterface::load().")
)
PSR4 in src/ Plugin/ DMU/ Converter/PSR4.php
Plugin annotation
@Converter(
id = "PSR4",
description = @Translation("Moves classes into PSR-4 directory structure.")
)
Routing in src/ Plugin/ DMU/ Converter/Routing.php
Plugin annotation
@Converter(
id = "routing",
description = @Translation("Converts parts of hook_menu() to the Drupal 8 routing system."),
hook = "hook_menu",
fixme = @Translation("@FIXME
This implementation of hook_menu() cannot be automatically…
St in src/ Plugin/ DMU/ Converter/ Functions/St.php
Plugin annotation
@Converter(
id = "st",
description = @Translation("Rewrites calls to st().")
)
Tests in src/ Plugin/ DMU/ Converter/Tests.php
Plugin annotation
@Converter(
id = "tests",
description = @Translation("Modifies test classes.")
)
ThemeGetRegistry in src/ Plugin/ DMU/ Converter/ Functions/ThemeGetRegistry.php
Plugin annotation
@Converter(
id = "theme_get_registry",
description = @Translation("Rewrites calls to theme_get_registry ().")
)
UnitTests in src/ Plugin/ DMU/ Converter/UnitTests.php
Plugin annotation
@Converter(
id = "unit_tests",
description = @Translation("Modifies unit test classes.")
)
URL in src/ Plugin/ DMU/ Converter/ Functions/URL.php
Plugin annotation
@Converter(
id = "url",
description = @Translation("Rewrites calls to url()."),
fixme = @Translation("url() expects a route name or an external URI."),
dependencies = { "router.route_provider" }
)
UserAccess in src/ Plugin/ DMU/ Converter/ Functions/UserAccess.php
Plugin annotation
@Converter(
id = "user_access",
description = @Translation("Rewrites calls to user_access().")
)
UserHooks in src/ Plugin/ DMU/ Converter/UserHooks.php
Plugin annotation
@Converter(
id = "user_hooks",
description = @Translation("Alters implementations of hook_user_insert(), hook_user_presave(), and hook_user_update()."),
hook = {
"hook_user_insert",
"hook_user_presave",
…
UserLoad in src/ Plugin/ DMU/ Converter/ Functions/UserLoad.php
Plugin annotation
@Converter(
id = "user_load",
description = @Translation("Rewrites calls to user_load ()."),
fixme = @Translation("user_load() is now EntityStorageInterface::load().")
)
UserSave in src/ Plugin/ DMU/ Converter/ Functions/UserSave.php
Plugin annotation
@Converter(
id = "user_save",
description = @Translation("Rewrites calls to user_save()."),
fixme = @Translation("user_save() is now a method of the user entity.")
)
VariableDel in src/ Plugin/ DMU/ Converter/ Functions/VariableDel.php
Plugin annotation
@Converter(
id = "variable_del",
description = @Translation("Replaces variable_del() calls with Configuration API.")
)
VariableGet in src/ Plugin/ DMU/ Converter/ Functions/VariableGet.php
Plugin annotation
@Converter(
id = "variable_get",
description = @Translation("Replaces variable_get() calls with Configuration API.")
)
VariableSet in src/ Plugin/ DMU/ Converter/ Functions/VariableSet.php
Plugin annotation
@Converter(
id = "variable_set",
description = @Translation("Replaces variable_set() calls with Configuration API.")
)
Watchdog in src/ Plugin/ DMU/ Converter/ Functions/Watchdog.php
Plugin annotation
@Converter(
id = "watchdog",
description = @Translation("Converts calls to watchdog() to \Drupal::logger ().")
)