This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Form functionality for wm_profile. | |
*/ | |
/** | |
* Submit handler for the field collection item form. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file: With breaks. | |
*/ | |
.selector1 { | |
position: absolute; | |
padding-left: 2.5rem; | |
color: $blue; | |
.selector2 { | |
position: relative; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implementation of hook_css_alter(). | |
*/ | |
function hook_css_alter(&$css) { | |
// For each item, don't allow preprocessing to disable @import. | |
foreach ($css as &$item) { | |
if (file_exists($item['data'])) { | |
$item['preprocess'] = FALSE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$points: sm 0px, md 480px, lg 767px, xl 980px; | |
$bp: () !default; | |
@for $i from 1 through length($points) { | |
// Get the current, previous, and next items in the list. | |
$curr: nth($points, $i); | |
$prev: if($i - 1 > 0, nth($points, $i - 1), false); | |
$next: if($i + 1 <= length($points), nth($points, $i + 1), false); | |
// Get the min and max widths. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php print $feed_icons; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sass_options = {:debug_info => true} | |
line_comments = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function formtable_form_table_form($form = array(), &$form_state) { | |
$form['table'] = array( | |
'#theme' => 'table', | |
'#header' => array(t('Column 1'), t('Column 2')), | |
'#rows' => array( | |
// First row. | |
'r1' => array( | |
'c1' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function template_preprocess_node(&$variables) { | |
unset($variables['content']['links']['translation']); | |
} |