composer create-project drupal-composer/drupal-project:8.x-dev d86 --stability dev --no-interaction
cd d86
lando init
? What recipe do you want to use? drupal8 ? Where is your webroot relative to the init destination? web
// credits https://github.com/arshad | |
(function ($) { | |
Drupal.behaviors.dieToolbardie = { | |
attach: function (context) { | |
window.matchMedia('(min-width: 975px)').addListener( function(event) { | |
event.matches ? $('#toolbar-item-administration', context).click() : $('.toolbar-item.is-active', context).click(); | |
}); | |
} | |
}; |
" Make IE Better Compatible " | |
<!--[if IE]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
====================================================== | |
IE6 Only | |
================== | |
_selector {...} |
// working with bxSlider.js | |
// Youtube and MP4 autoplay videos on Header Sliders. | |
(function($) { | |
var CB = { | |
slider: $('.bxslider'), | |
video: {}, | |
youtubeVideos: [], | |
onLoad: function() { | |
var videoItem = CB.slider.get(0).children.item(1); | |
// check first slide to check if youtube video. |
I hereby claim:
To claim this, I am signing this object:
--- | |
# `vagrant_box` can also be set to geerlingguy/centos6, geerlingguy/centos7, | |
# geerlingguy/debian8, geerlingguy/ubuntu1404, geerlingguy/ubuntu1204, etc. | |
vagrant_box: geerlingguy/ubuntu1404 | |
vagrant_user: vagrant | |
vagrant_synced_folder_default_type: nfs | |
vagrant_gui: false | |
# If you need to run multiple instances of Drupal VM, set a unique hostname, | |
# machine name, and IP address for each instance. |
Fork your own copy of the DrupalConsole repository to your account
Get a copy of your recently cloned version of console in your machine.
$ git clone git@github.com:[your-git-user-here]/drupal-console.git
<?php | |
/** | |
* @file | |
* | |
* Contains \Drupal\path_rest\Controller\PathRestController. | |
* | |
*/ | |
namespace Drupal\path_rest\Controller; |