You are here

Classes, traits, and interfaces in Drupal 7 to 8/9 Module Upgrader 8

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
NodeLoad class Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions 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().") )
NodeLoadTest class Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Converter\Functions tests/src/Unit/Plugin/DMU/Converter/Functions/NodeLoadTest.php @group DMU.Converter.Functions @covers \Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions\NodeLoad
Notify class Drupal\drupalmoduleupgrader\Plugin\DMU\Fixer src/Plugin/DMU/Fixer/Notify.php Plugin annotation @Fixer( id = "notify" ) 1 1
NotifyTest class Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Fixer tests/src/Unit/Plugin/DMU/Fixer/NotifyTest.php @group DMU.Fixer
ParameterBinding class Drupal\drupalmoduleupgrader\Routing src/Routing/ParameterBinding.php Represents a binding between a single callback parameter and a single path component in a Drupal 8 route path, possibly affected by an argument. 1
ParameterBindingTest class Drupal\Tests\drupalmoduleupgrader\Unit\Routing tests/src/Unit/Routing/ParameterBindingTest.php @group DMU.Routing
ParameterMap class Drupal\drupalmoduleupgrader\Routing src/Routing/ParameterMap.php Represents a set of parameter bindings for a particular path, callback, and set of arguments. 2
PathComponent class Drupal\drupalmoduleupgrader\Utility\Path\Drupal7 src/Utility/Path/Drupal7/PathComponent.php Represents a single component in a Drupal 7 route path. 4
PathComponent class Drupal\drupalmoduleupgrader\Utility\Path\Drupal8 src/Utility/Path/Drupal8/PathComponent.php Represents a single component in a Drupal 8 route path. 3
PathComponentBase abstract class Drupal\drupalmoduleupgrader\Utility\Path src/Utility/Path/PathComponentBase.php Represents a single component in a route path. 2 2
PathComponentInterface interface Drupal\drupalmoduleupgrader\Utility\Path src/Utility/Path/PathComponentInterface.php Represents a single component of a route path. 1
PathComponentTest class Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal7 tests/src/Unit/Utility/Path/Drupal7/PathComponentTest.php @group DMU.Utility.Path
PathComponentTest class Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal8 tests/src/Unit/Utility/Path/Drupal8/PathComponentTest.php @group DMU.Utility.Path
PathUtility class Drupal\drupalmoduleupgrader\Utility\Path\Drupal7 src/Utility/Path/Drupal7/PathUtility.php Represents a Drupal 7 route path. 3
PathUtility class Drupal\drupalmoduleupgrader\Utility\Path\Drupal8 src/Utility/Path/Drupal8/PathUtility.php Represents a Drupal 8 route path. 2
PathUtilityBase abstract class Drupal\drupalmoduleupgrader\Utility\Path src/Utility/Path/PathUtilityBase.php Base class for PathUtilityInterface implementations. 2 2
PathUtilityInterface interface Drupal\drupalmoduleupgrader\Utility\Path src/Utility/Path/PathUtilityInterface.php Represents a route path. 1 2
PathUtilityTest class Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal7 tests/src/Unit/Utility/Path/Drupal7/PathUtilityTest.php @group DMU.Utility.Path
PathUtilityTest class Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal8 tests/src/Unit/Utility/Path/Drupal8/PathUtilityTest.php @group DMU.Utility.Path
PluginBase abstract class Drupal\drupalmoduleupgrader src/PluginBase.php Base class for all DMU plugin types, pulling string translation and logging services from the container by default. 3 1
PSR4 class Drupal\drupalmoduleupgrader\Plugin\DMU\Converter src/Plugin/DMU/Converter/PSR4.php Plugin annotation @Converter( id = "PSR4", description = @Translation("Moves classes into PSR-4 directory structure.") )
PSR4 class Drupal\drupalmoduleupgrader\Plugin\DMU\Fixer src/Plugin/DMU/Fixer/PSR4.php Plugin annotation @Fixer( id = "psr4ify" ) 1
PSR4 class Drupal\drupalmoduleupgrader\Plugin\DMU\Analyzer src/Plugin/DMU/Analyzer/PSR4.php Plugin annotation @Analyzer( id = "PSR4", description = @Translation("Checks if the module defines any classes that need to be moved into a PSR-4 structure."), documentation = { { "url" = "https://www.drupal.org/node/2246699", "title"…
PSR4Test class Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Analyzer tests/src/Unit/Plugin/DMU/Analyzer/PSR4Test.php @group DMU.Analyzer @covers \Drupal\drupalmoduleupgrader\Plugin\DMU\Analyzer\PSR4
PSR4Test class Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Fixer tests/src/Unit/Plugin/DMU/Fixer/PSR4Test.php @group DMU.Fixer
Report class Drupal\drupalmoduleupgrader src/Report.php Basic implementation of an analyzer report. 3
ReportInterface interface Drupal\drupalmoduleupgrader src/ReportInterface.php Defines a report generated by the dmu-analyze command. Issues returned by analyzers are added to this report, then it's handed off to the theme system. 1
ReportTest class Drupal\Tests\drupalmoduleupgrader\Unit tests/src/Unit/ReportTest.php @group DMU
Rewriter class Drupal\drupalmoduleupgrader\Annotation src/Annotation/Rewriter.php Defines a Plugin annotation object for parametric rewriters. 1
RewriterInterface interface Drupal\drupalmoduleupgrader src/RewriterInterface.php Defines a parametric rewriter. 1 3 1
RouteConverterInterface interface Drupal\drupalmoduleupgrader\Routing src/Routing/RouteConverterInterface.php Defines a route converter, which converts a Drupal 7 router item to a Drupal 8 Symfony route. These plugins are NOT responsible for converting *links* (including tabs or local actions), only the actual route. 1 1 1
Router class Drupal\drupalmoduleupgrader\Routing\Drupal7 src/Routing/Drupal7/Router.php Represents a collection of Drupal 7 routes, i.e., the result of hook_menu(). 2
RouterBase class Drupal\drupalmoduleupgrader\Routing src/Routing/RouterBase.php Base class for RouterInterface implementations. 1 3
RouterBaseTest class Drupal\Tests\drupalmoduleupgrader\Unit\Routing tests/src/Unit/Routing/RouterBaseTest.php @group DMU.Routing
RouterBuiltEvent class Drupal\drupalmoduleupgrader\Routing src/Routing/RouterBuiltEvent.php Event object fired when all routes have been added to a RouterInterface implementation. 2
RouterInterface interface Drupal\drupalmoduleupgrader\Routing src/Routing/RouterInterface.php Defines a collection of routes, each wrapped by an implementation of RouteWrapperInterface in order to normalize the gaping differences between Drupal 7 and Drupal 8 routes. 1
RouterTest class Drupal\Tests\drupalmoduleupgrader\Unit\Routing\Drupal7 tests/src/Unit/Routing/Drupal7/RouterTest.php @group DMU.Routing
RouteWrapper class Drupal\drupalmoduleupgrader\Routing\Drupal7 src/Routing/Drupal7/RouteWrapper.php Encapsulates a Drupal 7 route (including the link, if any). 10
RouteWrapper class Drupal\drupalmoduleupgrader\Routing\Drupal8 src/Routing/Drupal8/RouteWrapper.php Wraps around a Symfony Route object, providing helper methods. 7
RouteWrapperInterface interface Drupal\drupalmoduleupgrader\Routing src/Routing/RouteWrapperInterface.php Common interface implemented by classes which wrap around Drupal 7 or Drupal 8 routes. 2 2
RouteWrapperTest class Drupal\Tests\drupalmoduleupgrader\Unit\Routing\Drupal7 tests/src/Unit/Routing/Drupal7/RouteWrapperTest.php @group DMU.Routing
RouteWrapperTest class Drupal\Tests\drupalmoduleupgrader\Unit\Routing\Drupal8 tests/src/Unit/Routing/Drupal8/RouteWrapperTest.php @group DMU.Routing
Routing class Drupal\drupalmoduleupgrader\Plugin\DMU\Converter 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…
SQLiteDatabaseTrait trait Drupal\Tests\drupalmoduleupgrader\Unit tests/src/Unit/SQLiteDatabaseTrait.php A trait for tests that need a database.
St class Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions src/Plugin/DMU/Converter/Functions/St.php Plugin annotation @Converter( id = "st", description = @Translation("Rewrites calls to st().") )
StringTransformTrait trait Drupal\drupalmoduleupgrader\Utility src/Utility/StringTransformTrait.php Contains methods for transforming strings in various helpful ways. 5
StTest class Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Converter\Functions tests/src/Unit/Plugin/DMU/Converter/Functions/StTest.php @group DMU.Converter.Functions @covers \Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\Functions\St
Target class Drupal\drupalmoduleupgrader src/Target.php Default implementation of TargetInterface. 4
TargetInterface interface Drupal\drupalmoduleupgrader src/TargetInterface.php Represents a Drupal 7 module being run through the DMU. 1 99
TargetTest class Drupal\Tests\drupalmoduleupgrader\Unit tests/src/Unit/TargetTest.php @group DMU

Pages

Other projects