public function MergeTermsConfirm::titleCallback in Term Merge 8
Callback for the form title.
Plugin annotation
@SuppressWarnings(camelCase);
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The title.
1 string reference to 'MergeTermsConfirm::titleCallback'
File
- src/
Form/ MergeTermsConfirm.php, line 170
Class
- MergeTermsConfirm
- Term merge confirm form.
Namespace
Drupal\term_merge\FormCode
public function titleCallback() {
$termCount = count($this
->getSelectedTermIds());
$arguments = [
'%termCount' => $termCount,
];
return $this
->t("Are you sure you wish to merge %termCount terms?", $arguments);
}