You are here

public function EditExpressionForm::getTitle in Rules 8.3

Provides the page title on the form.

1 method overrides EditExpressionForm::getTitle()
AddExpressionForm::getTitle in src/Form/AddExpressionForm.php
Provides the page title on the form.

File

src/Form/EditExpressionForm.php, line 139

Class

EditExpressionForm
UI form to edit an expression like a condition or action in a rule.

Namespace

Drupal\rules\Form

Code

public function getTitle(RulesUiHandlerInterface $rules_ui_handler, $uuid) {
  $this->uuid = $uuid;
  $expression = $this
    ->getEditedExpression($rules_ui_handler
    ->getComponent());
  return $this
    ->t('Edit @expression', [
    '@expression' => $expression
      ->getLabel(),
  ]);
}