public function WebformCompositeController::sourceTitle in Webform Composite Tools 8
Webform composite source route title callback.
Parameters
\Drupal\webform_composite\WebformCompositeInterface $webform_composite: The webform composite.
Return value
string The webform composite label as a render array.
1 string reference to 'WebformCompositeController::sourceTitle'
File
- src/
Controller/ WebformCompositeController.php, line 35
Class
- WebformCompositeController
- Provides route responses for webform options.
Namespace
Drupal\webform_composite\ControllerCode
public function sourceTitle(WebformCompositeInterface $webform_composite) {
return 'Edit ' . $webform_composite
->label() . ' Source';
}