public function BrokenWebformHandler::setPluginId in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformHandler/BrokenWebformHandler.php \Drupal\webform\Plugin\WebformHandler\BrokenWebformHandler::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\WebformHandlerPluginCollection::initializePlugin
File
- src/
Plugin/ WebformHandler/ BrokenWebformHandler.php, line 51
Class
- BrokenWebformHandler
- Defines a fallback plugin for missing webform handler plugins.
Namespace
Drupal\webform\Plugin\WebformHandlerCode
public function setPluginId($plugin_id) {
$this->pluginId = $plugin_id;
}