public function YamlFormOptionsController::title in YAML Form 8
Route title callback.
Parameters
\Drupal\yamlform\YamlFormOptionsInterface $yamlform_options: The form options.
Return value
string The form options label as a render array.
2 string references to 'YamlFormOptionsController::title'
- yamlform.routing.yml in ./
yamlform.routing.yml - yamlform.routing.yml
- yamlform_ui.routing.yml in modules/
yamlform_ui/ yamlform_ui.routing.yml - modules/yamlform_ui/yamlform_ui.routing.yml
File
- src/
Controller/ YamlFormOptionsController.php, line 91
Class
- YamlFormOptionsController
- Provides route responses for form options.
Namespace
Drupal\yamlform\ControllerCode
public function title(YamlFormOptionsInterface $yamlform_options) {
return $yamlform_options
->label();
}