public function StringTransformTrait::getIdentifierFromPath in Drupal 7 to 8/9 Module Upgrader 8
Generates an identifier from a path.
Parameters
string $path: The input path, including any {wildcards}.
Return value
string The identifier.
1 call to StringTransformTrait::getIdentifierFromPath()
- StringTransformTrait::getIdentifierFromLegacyPath in src/
Utility/ StringTransformTrait.php - Generates an identifier from a Drupal 7 path.
File
- src/
Utility/ StringTransformTrait.php, line 112
Class
- StringTransformTrait
- Contains methods for transforming strings in various helpful ways.
Namespace
Drupal\drupalmoduleupgrader\UtilityCode
public function getIdentifierFromPath($path) {
return $this
->getIdentifier($this
->deleteWildcards($path));
}