You are here

public function PathComponent::isPlaceholder in Drupal 7 to 8/9 Module Upgrader 8

Returns if this component is a generic placeholder (%).

Return value

bool

File

src/Utility/Path/Drupal7/PathComponent.php, line 17

Class

PathComponent
Represents a single component in a Drupal 7 route path.

Namespace

Drupal\drupalmoduleupgrader\Utility\Path\Drupal7

Code

public function isPlaceholder() {
  return $this->value == '%';
}