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
$('form :input').each(function(index, elem) { | |
var eId = $(elem).attr('id'); | |
var label = null; | |
if (eId && (label = $(elem).parents('form').find('label[for='+eId+']')).length === 1) { | |
$(elem).attr('placeholder', $(label).html()); | |
$(label).addClass('hide'); | |
} | |
}); |
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
IBlack="\[\033[0;90m\]" # High-intensity Black | |
BYellow="\[\033[1;33m\]" # Bold Yellow | |
Green="\[\033[0;32m\]" # Green | |
IRed="\[\033[0;91m\]" # High-intensity Red | |
Yellow="\[\033[0;33m\]" # Yellow | |
Color_Off="\[\033[0m\]" # Text Reset | |
# Bash prompt for Git repos, based on | |
# http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt but inserts | |
# the branch/dirty marker in the path. |
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
{ | |
"fields": { | |
"nid": { | |
"type": "integer", | |
"label": "Node ID", | |
"description": "The node ID.", | |
"required": false, | |
"storage": { | |
"cardinality": 1, | |
"custom_storage": 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
uuid: 63a6d9e3-c8fb-4401-9100-e547486ee3b4 | |
langcode: en | |
status: true | |
dependencies: { } | |
id: user | |
label: User | |
uri_pattern: 'http://schema.md-systems.ch/collect/0.0.1/collectjson/d8.dev/entity/user' | |
plugin_id: collectjson | |
locked: false | |
container_revision: true |
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
uuid: 63a6d9e3-c8fb-4401-9100-e547486ee3b4 | |
langcode: en | |
status: true | |
dependencies: { } | |
id: user | |
label: User | |
uri_pattern: 'http://schema.md-systems.ch/collect/0.0.1/collectjson/d8.dev/entity/user' | |
plugin_id: collectjson | |
locked: false | |
container_revision: true |
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 | |
interface Vehicle { | |
public function getNumberOfWheels(); | |
} | |
abstract class Bicycle { | |
// Does not declare the method in the interface, and that's fine. | |
} |
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
a:25:{s:11:"#attributes";a:1:{s:5:"class";a:2:{i:0;s:23:"collect-processing-form";i:1;s:19:"collect-schema-form";}}s:8:"#process";a:1:{i:0;s:13:"::processForm";}s:12:"#after_build";a:1:{i:0;s:12:"::afterBuild";}s:20:"processor_add_select";a:3:{s:5:"#type";s:6:"select";s:6:"#title";s:13:"Add processor";s:8:"#options";a:2:{s:16:"activity_creator";O:48:"Drupal\Core\StringTranslation\TranslationWrapper":3:{s:9:" |