This file contains 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
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"default_line_ending": "unix", | |
"ensure_newline_at_eof_on_save": true, | |
"fallback_encoding": "UTF-8", | |
"folder_exclude_patterns": | |
[ | |
".idea", | |
".git", | |
".github", |
This file contains 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
'use strict' | |
var gulp = require('gulp'); | |
var plugins = require('gulp-load-plugins')(); | |
var del = require('del'); | |
var config = {}; | |
var app = {}; |
This file contains 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
curl -s https://www.drupalvmgenerator.com/download -L -o drupalvm-generate.phar |
This file contains 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 | |
$settings['hash_salt'] = ''; | |
$settings['update_free_access'] = FALSE; | |
$settings['container_yamls'][] = __DIR__ . '/services.yml'; | |
if (file_exists(__DIR__ . '/settings.local.php')) { | |
include __DIR__ . '/settings.local.php'; |
This file contains 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
// Include this within your main "_init.scss" file using | |
// @import "classes"; | |
// The opposite of Drupal's .js-hide class which hides an element when | |
// JavaScript is enabled (this hides an element when JavaScript is disabled). | |
// Add this to an element using the @extend directive. For example: | |
// | |
// .tabs { | |
// @extend %no-js-hide. | |
// } |
This file contains 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 | |
/** | |
* Implements hook_form_alter(). | |
*/ | |
function MYTHEME_form_alter(&$form) { | |
// Add additional classes to each form action. | |
if (isset($form['actions'])) { | |
$actions = element_children($form['actions']); | |
foreach ($actions as $action) { |
This file contains 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
{ | |
"folders": | |
[ | |
{ | |
"path": "/", | |
"file_exclude_patterns": | |
[ | |
"drupal/.gitignore", | |
"drupal/.htaccess", | |
"drupal/authorize.php", |
This file contains 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
<?xml version="1.0" encoding="UTF-8" ?> | |
<node_export created="Tue, 01 Dec 2015 20:11:46 +0000"> | |
<node> | |
<vid>1</vid> | |
<uid>1</uid> | |
<title>Comis Duis Jumentum Nostrud Vereor</title> | |
<log></log> | |
<status>1</status> | |
<comment>2</comment> | |
<promote>1</promote> |
This file contains 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 | |
use Symfony\Component\Finder\Finder; | |
/** | |
* Implements hook_views_default_views(). | |
*/ | |
function MYMODULE_views_default_views() { | |
// Find all .view.inc files in a the views/ directory, and include them. | |
$finder = new Finder(); |
This file contains 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 | |
$users = [ | |
[ 'uid' => 21 ], | |
[ 'uid' => 22 ], | |
[ 'uid' => 23 ], | |
[ 'uid' => 24 ], | |
[ 'uid' => 25 ], | |
[ 'uid' => 26 ], | |
]; |