Skip to content

Instantly share code, notes, and snippets.

View gnuget's full-sized avatar

David Valdez gnuget

View GitHub Profile
# Title: Missing URL fragment for the comment's title link.
# Status: Needs review. It's a straightforward change.
https://www.drupal.org/node/2642260
# Title: file_unmanaged_copy not working properly when the destination directory does not exist.
# Status: Needs review. It was already reviewed by Alexpott once, so it is very near to be RTBC
https://www.drupal.org/node/2211657
# Title: image-widget.html.twig references a non-existing classy/image-widget library.
# Status: Needs review. It was already reviewed by davidhernandez and Wim Leers so it is also very near to be RTBC
@gnuget
gnuget / CommentFlatTest.php
Created July 11, 2017 05:41
Tests Flat Comments.
<?php
namespace Drupal\comment\Tests;
use Drupal\comment\CommentManagerInterface;
/**
* Tests to make sure the comment number increments properly.
*
* @group comment
@gnuget
gnuget / setup-drupal-dev.md
Last active May 27, 2021 04:27
How to set up dev enviroment for contributing to Drupal

First of all install DDEV: https://ddev.readthedocs.io/en/stable/#installation

Then execute the following commands:

mkdir drupal9
cd drupal9
ddev config --project-type=drupal9 --docroot=web --create-docroot
ddev start
# You might want to change the default branch depending on the version
@gnuget
gnuget / my-local-enviroment-wrapper.plugin.zsh
Last active October 17, 2022 03:45
my-local-enviroment-wrapper.plugin.zsh
# I just extended https://github.com/JoshuaBedford/lando-zsh/ to support ddev and docksal
# all the credit is for Joshua Bedford.
#
# To use it, add `my-local-enviroment-wrapper` to the plugins array in your zshrc file eg:
# plugins=(git my-local-enviroment-wrapper)
#
# Put this file at: ~/.oh-my-zsh/custom/plugins/my-local-enviroment-wrapper.plugin.zsh
# and set your projects folder path in your ~/.zshrc eg:
# export ZSH_SITES_DIRECTORY="$HOME/Projects"
#