"Vardot Support" is a module used by Vardot for enhancing customer's Drupal sites by:
settings.php
file.
git-rm-ignored
.This module is designed to make settings.php as automatic as possible.
The settings.vardot.php file is designed to be included by your project's settings.php.
The settings.default.php file is designed to be copied into new projects settings.php files.
When starting a new project with composer create-project vardot/varbase-project
, the settings.php file will be copied automatically.
If updating a new project, review your current settings.php file and either replace it or alter it to include the contents of settings.default.php.
The drupal/vardot_support
global settings file will include the default Acquia settings file, or the acquia/blt
settings file, if it exists and AH_ENVIRONMENT
was detected.
See settings.vardot.php, line 54 for details.
To make it easier for custom host providers to inform drupal of database credentials, Vardot Support module will
automatically set Drupal's $databases
connection array using environment variables, if available.
To use this feature:
loadEnvironment.php
file (included in vardot/varbase-project
)."autoload": {"files": ["loadEnvironment.php]}
to composer.json
..env
file to the composer root containing the database credentials.For example:
DRUSH_OPTIONS_URI=mysite.com
MYSQL_DATABASE=mysite
MYSQL_HOSTNAME=localhost
MYSQL_PASSWORD=secretpassword
MYSQL_PORT=3306
MYSQL_USER=mysite
The varbase/varbase-project
includes these things by default.
The drupal/vardot_support
global settings file will include settings.lando.php if LANDO
is detected.
This offers a few features:
DRUSH_OPTIONS_URI
so all drush calls have the right URL set.settings.php
.$databases
from LANDO_INFO
.$settings['hash_salt']
.$settings['trusted_host_patterns']
for lndo.site and lando's "share" feature, localtunnel.me.example.settings.local.php
. (To skip this feature, set LANDO_PROD_MODE
in lando.yml.)drupal/httpswww
module.This module uses the Site Entity Module to track status of your website, and to connect to the Vardot Support Network.
When enabled, your site will send status updates to the Vardot Drupal Support Dashboard to help us ensure the quality of your website.
To connect a site to the Vardot Drupal Support Dashboard, follow these instructions:
Add and enable Vardot Support module:
composer require drupal/vardot_support
drush en vardot_support
You will likely have to remove some dependencies from the project. Vardot Support requires some modules. Remove them from the project to allow vardot_support to be included.
Configure Site.module to send reports to DSD:
Open the new "About this Site" > "Settings" page under the top left menu. (/admin/about/site):
Ensure the settings are applied as shown on the DSD Settings page either to the client site's settings.php or manually on the "About this site > Settings" page.
For the "Site Data Destinations" field, enter the URL of the DSD Site with the API key created on the DSD site, like so:
Configure the desired State Factors for the site under the "State" tab.
Set up Vardot Support Status and Remote Login Links
For more information, contact Vardot at https://www.vardot.com/en-us/contact-us.