Blocks |
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 =… |
EntityHooks |
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",
… |
Grep |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
src/Plugin/DMU/Converter/HookFormAlter.php |
Plugin annotation
@Converter(
id = "hook_form_alter",
description = @Translation("Corrects hook_form_alter() function signatures.")
) |
HookInit |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
src/Plugin/DMU/Converter/InfoToYAML.php |
Plugin annotation
@Converter(
id = "info",
description = @Translation("Converts Drupal 7 info files to Drupal 8.")
) |
Links |
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… |
PSR4 |
src/Plugin/DMU/Converter/PSR4.php |
Plugin annotation
@Converter(
id = "PSR4",
description = @Translation("Moves classes into PSR-4 directory structure.")
) |
Routing |
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… |
Tests |
src/Plugin/DMU/Converter/Tests.php |
Plugin annotation
@Converter(
id = "tests",
description = @Translation("Modifies test classes.")
) |
UnitTests |
src/Plugin/DMU/Converter/UnitTests.php |
Plugin annotation
@Converter(
id = "unit_tests",
description = @Translation("Modifies unit test classes.")
) |
UserHooks |
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",
… |