Skip to content

Instantly share code, notes, and snippets.

View drupix's full-sized avatar
🦧
They say I am unemployable!? Ah... but I don't care, I can eat bananas!!

drupix

🦧
They say I am unemployable!? Ah... but I don't care, I can eat bananas!!
View GitHub Profile
@drupix
drupix / README-Template.md
Created February 20, 2019 18:48 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@drupix
drupix / FormTest.php
Created October 21, 2018 15:49 — forked from mitchellshelton/FormTest.php
Drupal 'add more' and 'remove single' AJAX buttons on multi value custom field using FormAPI. Converted to a D8 version, forked from https://github.com/alexdesignworks
<?php
/**
* @file
* Contains \Drupal\mymodule\Form\FormTest.
*/
namespace Drupal\mymodule\Form;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
@drupix
drupix / mymodule.css
Last active October 21, 2018 15:50 — forked from AlexSkrypnyk/mymodule.css
Drupal 'add more' and 'remove single' AJAX buttons on multi value custom field using FormAPI.
input.form-submit.button-small {
padding: 4px 8px;
font-weight: bold;
}
.container-inline input.form-submit.button-small + .ajax-progress.ajax-progress-throbber .throbber {
position: absolute;
left: 19px;
margin-top: 7px;
}