You are here

public function FormsStepsEditForm::getTitle in Forms Steps 8

Title callback: also display the Forms Steps label.

Parameters

\Drupal\forms_steps\Entity\FormsSteps $forms_steps: Forms Steps to get label from.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Translatable Title.

1 string reference to 'FormsStepsEditForm::getTitle'
forms_steps.routing.yml in ./forms_steps.routing.yml
forms_steps.routing.yml

File

src/Form/FormsStepsEditForm.php, line 453

Class

FormsStepsEditForm
Provides a form to edit a Forms Steps.

Namespace

Drupal\forms_steps\Form

Code

public function getTitle(FormsSteps $forms_steps) {
  return $this
    ->t('Edit Forms Steps "@label"', [
    '@label' => $forms_steps
      ->label(),
  ]);
}