public function WebformCompositeController::editTitle in Webform Composite Tools 8
Webform composite edit 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::editTitle'
File
- src/
Controller/ WebformCompositeController.php, line 22
Class
- WebformCompositeController
- Provides route responses for webform options.
Namespace
Drupal\webform_composite\ControllerCode
public function editTitle(WebformCompositeInterface $webform_composite) {
return 'Edit ' . $webform_composite
->label();
}