/**
  * {@inheritdoc}
  */
 public function getQuestion()
 {
     $rule_expression = $this->rulesUiHandler->getComponent()->getExpression();
     $expression_inside = $rule_expression->getExpression($this->uuid);
     if (!$expression_inside) {
         throw new NotFoundHttpException();
     }
     return $this->t('Are you sure you want to delete %title from %rule?', ['%title' => $expression_inside->getLabel(), '%rule' => $this->rulesUiHandler->getComponentLabel()]);
 }
 /**
  * {@inheritdoc}
  */
 public function buildForm(array $form, FormStateInterface $form_state, RulesUiHandlerInterface $rules_ui_handler = NULL)
 {
     $this->rulesUiHandler = $rules_ui_handler;
     if (!$rules_ui_handler->isLocked()) {
         $form['message']['#markup'] = $this->t('There is no lock on %label to break.', ['%label' => $rules_ui_handler->getComponentLabel()]);
         return $form;
     }
     return parent::buildForm($form, $form_state);
 }