You are here

public function ScriptForm::formTitle in Script Manager 8

The form title.

1 string reference to 'ScriptForm::formTitle'
script_manager.routing.yml in ./script_manager.routing.yml
script_manager.routing.yml

File

src/Form/ScriptForm.php, line 122

Class

ScriptForm
The script entity add form.

Namespace

Drupal\script_manager\Form

Code

public function formTitle(Script $script) {
  return $this
    ->t('Edit %script Script', [
    '%script' => $script
      ->label(),
  ]);
}