You are here

public function PathUtility::isDynamic in Drupal 7 to 8/9 Module Upgrader 8

Returns if the path has %wildcards or placeholders (%) in it.

Return value

bool

File

src/Utility/Path/Drupal7/PathUtility.php, line 24

Class

PathUtility
Represents a Drupal 7 route path.

Namespace

Drupal\drupalmoduleupgrader\Utility\Path\Drupal7

Code

public function isDynamic() {
  return $this
    ->hasWildcards() || $this
    ->hasPlaceholders();
}