public function PathUtilityBase::deleteWildcards in Drupal 7 to 8/9 Module Upgrader 8
Returns a copy of the collection with wildcards removed.
Return value
static
File
- src/
Utility/ Path/ PathUtilityBase.php, line 110
Class
- PathUtilityBase
- Base class for PathUtilityInterface implementations.
Namespace
Drupal\drupalmoduleupgrader\Utility\PathCode
public function deleteWildcards() {
return $this
->filter(function (PathComponentInterface $component) {
return !$component
->isWildcard();
});
}