You are here

function captcha_questions_dblog_install in Captcha Questions 8

Same name and namespace in other branches
  1. 7 captcha_questions_dblog/captcha_questions_dblog.install \captcha_questions_dblog_install()

Implements hook_install().

File

captcha_questions_dblog/captcha_questions_dblog.install, line 79
Install and uninstall functions for the Captcha questions dblog module.

Code

function captcha_questions_dblog_install() {
  $pass_link = Link::fromTextAndUrl(t('Configure'), Url::fromRoute('captcha_questions_settings'));
  \Drupal::messenger()
    ->addMessage(t("Captcha questions database logging installed successfully. @link what forms to protect.", [
    '@link' => $pass_link,
  ]));
}