You are here

public function WebformVariantBase::getMachineNameReplacePattern in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 122

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'];
}