public function PluginInstance::__clone in Plugin 8.2
File
- src/
Plugin/ DataType/ PluginInstance.php, line 38
Class
- PluginInstance
- Provides a plugin instance data type.
Namespace
Drupal\plugin\Plugin\DataTypeCode
public function __clone() {
if ($this
->getValue()) {
$this
->setValue(clone $this->value);
}
}