You are here

public function RulesComponentEditForm::getTitle in Rules 8.3

Title callback: also display the rule label.

1 string reference to 'RulesComponentEditForm::getTitle'
rules.routing.yml in ./rules.routing.yml
rules.routing.yml

File

src/Form/RulesComponentEditForm.php, line 103

Class

RulesComponentEditForm
Provides a form to edit a component.

Namespace

Drupal\rules\Form

Code

public function getTitle($rules_component) {
  return $this
    ->t('Edit rules component "@label"', [
    '@label' => $rules_component
      ->label(),
  ]);
}