public function PathUtilityBase::hasWildcards in Drupal 7 to 8/9 Module Upgrader 8
Returns if there are wildcards in the path.
Return value
bool
Overrides PathUtilityInterface::hasWildcards
1 call to PathUtilityBase::hasWildcards()
- PathUtility::isDynamic in src/
Utility/ Path/ Drupal7/ PathUtility.php - Returns if the path has %wildcards or placeholders (%) in it.
File
- src/
Utility/ Path/ PathUtilityBase.php, line 77
Class
- PathUtilityBase
- Base class for PathUtilityInterface implementations.
Namespace
Drupal\drupalmoduleupgrader\Utility\PathCode
public function hasWildcards() {
return $this
->getWildcards()
->count() > 0;
}