You are here

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'
webform_composite.routing.yml in ./webform_composite.routing.yml
webform_composite.routing.yml

File

src/Controller/WebformCompositeController.php, line 22

Class

WebformCompositeController
Provides route responses for webform options.

Namespace

Drupal\webform_composite\Controller

Code

public function editTitle(WebformCompositeInterface $webform_composite) {
  return 'Edit ' . $webform_composite
    ->label();
}