You are here

public function WebformVariantBase::getMachineNameReplacePattern in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformVariantBase.php \Drupal\webform\Plugin\WebformVariantBase::getMachineNameReplacePattern()

Returns the webform variant machine name replacement pattern.

Return value

string|NULL The webform variant machine name replacement pattern.

Overrides WebformVariantInterface::getMachineNameReplacePattern

File

src/Plugin/WebformVariantBase.php, line 142

Class

WebformVariantBase
Provides a base class for a webform variant.

Namespace

Drupal\webform\Plugin

Code

public function getMachineNameReplacePattern() {
  return $this->pluginDefinition['machine_name_replace_pattern'];
}