public function BrokenWebformVariant::getSummary in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformVariant/BrokenWebformVariant.php \Drupal\webform\Plugin\WebformVariant\BrokenWebformVariant::getSummary()
Returns a render array summarizing the configuration of the webform variant.
Return value
array A render array.
Overrides WebformVariantBase::getSummary
File
- src/
Plugin/ WebformVariant/ BrokenWebformVariant.php, line 29
Class
- BrokenWebformVariant
- Defines a fallback plugin for missing webform variant plugins.
Namespace
Drupal\webform\Plugin\WebformVariantCode
public function getSummary() {
$t_args = [
'%plugin_id' => $this
->getPluginId(),
];
return [
'message' => [
'#markup' => $this
->t('This %plugin_id handler is broken or missing. You might need to enable the original module and/or clear the cache.', $t_args),
],
];
}