You are here

public function BrightcoveSubscriptionDeleteForm::getQuestion in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Form/BrightcoveSubscriptionDeleteForm.php \Drupal\brightcove\Form\BrightcoveSubscriptionDeleteForm::getQuestion()
  2. 3.x src/Form/BrightcoveSubscriptionDeleteForm.php \Drupal\brightcove\Form\BrightcoveSubscriptionDeleteForm::getQuestion()

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/BrightcoveSubscriptionDeleteForm.php, line 45

Class

BrightcoveSubscriptionDeleteForm
Builds the form for Brightcove Subscription delete.

Namespace

Drupal\brightcove\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure that you want to delete the subscription with the %endpoint endpoint?', [
    '%endpoint' => $this->brightcoveSubscription
      ->getEndpoint(),
  ]);
}