function ReactionRuleEditForm::getTitle

Title callback: also display the rule label.

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

File

src/Form/ReactionRuleEditForm.php, line 196

Class

ReactionRuleEditForm
Provides a form to edit a reaction rule.

Namespace

Drupal\rules\Form

Code

public function getTitle($rules_reaction_rule) {
    return $this->t('Edit reaction rule "@label"', [
        '@label' => $rules_reaction_rule->label(),
    ]);
}