You are here

public function BrokenWebformVariant::setPluginId in Webform 8.5

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

Set a broken handler's plugin id.

This allows broken handlers to preserve the original handler's plugin ID.

Parameters

string $plugin_id: The original handler's plugin ID.

See also

\Drupal\webform\Plugin\WebformVariantPluginCollection::initializePlugin

File

src/Plugin/WebformVariant/BrokenWebformVariant.php, line 48

Class

BrokenWebformVariant
Defines a fallback plugin for missing webform variant plugins.

Namespace

Drupal\webform\Plugin\WebformVariant

Code

public function setPluginId($plugin_id) {
  $this->pluginId = $plugin_id;
}