Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ivanzugec on github.
* I am ivanzugec (https://keybase.io/ivanzugec) on keybase.
* I have a public key ASAEAzZkYGOQiT4caJ-sPgX9t-3ln0KIfxLOG60USBZhOAo
To claim this, I am signing this object:
@IvanZugec
IvanZugec / page--node.html.twig
Last active June 6, 2018 13:34
Code examples from the "Display Paragraphs Edge-to-edge using Bootstrap in Drupal 8" tutorial (http://www.webwash.net/node/262) on http://www.webwash.net.
{#
/**
* @file
* Default theme implementation to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
@IvanZugec
IvanZugec / FeatureContext.php
Last active August 29, 2015 14:22
Display PHP errors when running Behat
<?php
// use...
// This will display all errors, warnings and notices.
define('BEHAT_ERROR_REPORTING', E_ALL);
//define('BEHAT_ERROR_REPORTING', E_ERROR | E_WARNING | E_PARSE);
// Thanks to http://stackoverflow.com/a/9217606
@IvanZugec
IvanZugec / media.make
Created August 25, 2014 23:28
Drupal 7 Media and File entity
; Panopoly - Contrib - Files & Media
; Credit: Panopoly Widget http://cgit.drupalcode.org/panopoly_widgets/tree/panopoly_widgets.make
projects[file_entity][version] = 2.x-dev
projects[file_entity][subdir] = contrib
projects[file_entity][download][type] = git
projects[file_entity][download][revision] = 20f3070
projects[file_entity][download][branch] = 7.x-2.x
projects[media][version] = 2.x-dev
projects[media][subdir] = contrib