This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Some possible additions to the settings.php file or the settings.local.php file. | |
*/ | |
$databases = ['default' => ['default' => [ | |
'database' => 'db', | |
'username' => 'user', | |
'password' => 'pwd', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When you don't want to wait to feel better | |
<p>BeWellNow lets you talk with a doctor from the comfort of your own home or on-the-go. It's easy to use, free to enroll and the cost is just $49 per visit. </p> | |
<ul> | |
<li>Unlimited video visits with doctors from the comfort of your smartphone, tablet or computer</li> | |
<li>Peace of mind with a doctor "on call" 24/7 to provide quality care to you and your family</li> | |
<li>Prescriptions, referals, and more</li> | |
</ul> | |
<p>You can use BeWellNow any time, day or night. It's perfect when your doctor's office is closed; when you're too sick or busy to see someone in person; or even whenyou're traveling.</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> New Header! </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
COLOR_RED="\033[0;31m" | |
COLOR_YELLOW="\033[0;33m" | |
COLOR_GREEN="\033[0;32m" | |
COLOR_OCHRE="\033[38;5;95m" | |
COLOR_BLUE="\033[0;34m" | |
COLOR_WHITE="\033[0;37m" | |
COLOR_RESET="\033[0m" | |
# function git_color { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($, Drupal) { | |
"use strict"; | |
Drupal.behaviors.submitscroll = { | |
attach: function(context) { | |
// Define button. | |
const $submitButton = $(".jcc-choice-section input[type=submit]"); | |
// Send offset values to sessionStorage, then submit form. | |
$submitButton.click(function(e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($, Drupal) { | |
'use strict'; | |
Drupal.behaviors.viewContactContacts = { | |
attach: function(context, drupalSettings) { | |
// List of tids from pacificsource_preprocess_views_view__contact_contacts(). | |
const $tids = drupalSettings.pacificsource.view_contact_contacts.contact_tids; | |
// Target the correct view. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
COLOR_RED="\033[0;31m" | |
COLOR_YELLOW="\033[0;33m" | |
COLOR_GREEN="\033[0;32m" | |
COLOR_OCHRE="\033[38;5;95m" | |
COLOR_BLUE="\033[0;34m" | |
COLOR_WHITE="\033[0;37m" | |
COLOR_RESET="\033[0m" | |
# To set a crontab for this script: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# ~ Core ~ #} | |
{# {{ dump() }} #} | |
{# {{ dump(page) }} #} | |
{# ~ Devel~ #} | |
{# {{ kint()}} #} | |
{# {{ kint(page)}} #} | |
{# {{ devel_dump(page) }} #} | |
{# {{ devel_breakpoint() }} #} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php> | |
function myfunction($app) { | |
// ~~ Core. | |
// debug($app); | |
// dump($app); | |
// var_dump($app); | |
// ~~ Devel + kint library + settings | |
// dpr($app); | |
// kint($app); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_field_usage_check('event', 'entity_reference'); | |
/** | |
* string $reference_type | |
* Example: 'node' or 'paragraph' | |
* string $referenced_entity_type | |
* Example: 'entity_reference' or 'entity_reference_revisions' | |
* | |
* Given the machine name of a paragraph, return/print the entities that reference it. | |
*/ |
OlderNewer