You are here

public function ModuleResultForm::formTitle in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Form/ModuleResultForm.php \Drupal\opigno_module\Form\ModuleResultForm::formTitle()

Title callback for the form.

1 string reference to 'ModuleResultForm::formTitle'
opigno_module.routing.yml in ./opigno_module.routing.yml
opigno_module.routing.yml

File

src/Form/ModuleResultForm.php, line 32

Class

ModuleResultForm
Class ModuleResultForm.

Namespace

Drupal\opigno_module\Form

Code

public function formTitle(OpignoModule $opigno_module = NULL) {
  return $this
    ->t('Edit module result for %module_name', [
    '%module_name' => $opigno_module
      ->getName(),
  ]);
}