recaptcha_v3-8.x-1.x-dev/recaptcha_v3.libraries.yml

recaptcha_v3.libraries.yml
google.recaptcha:
  remote: https://github.com/google/recaptcha
  version: "1.3.0"
  license:
    name: BSD
    url: https://github.com/google/recaptcha/blob/master/LICENSE
    gpl-compatible: true
  js:
    https://www.google.com/recaptcha/api.js: {
      type: external,
      minified: true,
      weight: -200,
      attributes: { defer: true, async: true }
    }

recaptcha_v3:
  js:
    js/recaptcha_v3.js: { weight: 0 }
  dependencies:
    - core/drupal
    - core/jquery
    - core/once
    - recaptcha_v3/google.recaptcha

recaptcha_v3_no_badge:
  css:
    theme:
      css/recaptcha_v3_no_badge.css: { weight: -10 }

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc