This code (used in hook_form_alter) will make body field's summary open by default and required.
$form['body']['und']['summary']['#attached']['js'] = array();
$form['body']['und']['summary']['#required'] = TRUE;
We will review some of the pretty neat Drupal contributions coming this year. The community as a whole has really outdone themselves. Step aside Drupal 8, you are about to get passed up.
Without further ado, here is our top 10 Drupal contributions for 2014:
Decompilies an existing site into a drush script that can be used to rebuild the site from scratch on a new server with a single command. Example: drush undrush domain.com target newdomain.com.
This module ingests a website developed between 1998 and 2004, which used lots of shadows, gradients, bevels, and unnecessary chrome, and converts the website to a modern flat web design using Drupal goodness and Bootstrap with the Bootswatch Lumen theme to make the client feel better about the upgrade.
Any feature is completed yesterday! Now all you need to do is upload your UML specifications and your Drupal module is created for you. Accepts the following formats: ArgoUML, OmniGraffle, and Word Perfect.
Amaze your friends with this install profile for Drupal that rolls out a Twitter/Facebook clone in seconds.
The Drush LOLCODE Plugin integrates Drush with one of the fastest growing programing languages on the market today. Now all your Drush Shell Scripts will accept the LOLCODE syntax.
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
CAN HAS GIT?
IM IN YR REPO
PLZ PULL ORIGIN
Modifies Drupal to look and act like WordPress. Your client's nephew who learned Web Development in high school won't know the difference.
Module ingests a high-fidelity wireframe and completes the development of the website. Accepts the following formats: Bootstrap, Balsamiq, and Word Perfect. Dependencies: Code Writing Module
Including this hook into your module will mark all bug reports in the module's issue queue to "Fixed" automagicallyTM.
Implements a voice-interface for you to tell Siri interactively what you want, and then the module builds it. Dependencies: Code Writing Module
This module takes any D6, or D7 website, and automagicallyTM upgrades it to Drupal 8. It also performs automated testing to validate that all modules, views, content types, and themes were upgraded properly.
GIT integration for daily household chores. Check out and commit your day away while retaining a history log in case you need to roll changes back a few hours.
This common looking ergonomic back support chair is a wonderful team building device. The integrates with Qualcomm's Gimbal technology to provide context aware sensors so managers know the perfect moment to provide proper "motivation".