function AddEventForm::getTitle

Provides the page title on the form.

File

src/Form/AddEventForm.php, line 60

Class

AddEventForm
UI form to add an event to a rule.

Namespace

Drupal\rules\Form

Code

public function getTitle(RulesUiHandlerInterface $rules_ui_handler) {
    return $this->t('Add event to %rule', [
        '%rule' => $rules_ui_handler->getComponentLabel(),
    ]);
}