PathUtility.php in Drupal 7 to 8/9 Module Upgrader 8
Same filename in this branch
File
src/Utility/Path/Drupal8/PathUtility.phpView source
<?php
namespace Drupal\drupalmoduleupgrader\Utility\Path\Drupal8;
use Drupal\drupalmoduleupgrader\Utility\Path\PathUtilityBase;
/**
* Represents a Drupal 8 route path.
*/
class PathUtility extends PathUtilityBase {
/**
* {@inheritdoc}
*/
public static function getComponent($value) {
return new PathComponent($value);
}
}
Classes
Name | Description |
---|---|
PathUtility | Represents a Drupal 8 route path. |