Skip to content

Instantly share code, notes, and snippets.

{
"name": "drupal-composer/drupal-project",
"description": "Composer template for Drupal projects",
"repositories": [{
"type": "composer",
"url": "https://packagist.drupal-composer.org"
}],
"require": {
"composer/installers": "~1.0",
"derhasi/composer-preserve-paths": "0.1.*",
Drupal\Core\Database\IntegrityConstraintViolationException: [error]
02 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'weight'
02 cannot be null: INSERT INTO {taxonomy_term_field_data} (tid, vid,
02 langcode, name, description__value, description__format, weight,
02 changed, default_langcode) VALUES (:db_insert_placeholder_0,
02 :db_insert_placeholder_1, :db_insert_placeholder_2,
02 :db_insert_placeholder_3, :db_insert_placeholder_4,
02 :db_insert_placeholder_5, :db_insert_placeholder_6,
02 :db_insert_placeholder_7, :db_insert_placeholder_8); Array
02 (
# This file describes an application. You can have multiple applications
# in the same project.
# The name of this app. Must be unique within a project.
name: php
type: php:5.6
build:
flavor: composer
@webflo
webflo / composer.json
Last active September 22, 2015 12:25
{
"name": "drupal/drupal",
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"type": "project",
"license": "GPL-2.0+",
"require": {
"composer/installers": "^1.0.21",
"wikimedia/composer-merge-plugin": "dev-master"
},
"replace": {
diff --git a/core/modules/views/src/Plugin/views/argument/Date.php b/core/modules/views/src/Plugin/views/argument/Date.php
index c737d38..1becb3c 100644
--- a/core/modules/views/src/Plugin/views/argument/Date.php
+++ b/core/modules/views/src/Plugin/views/argument/Date.php
@@ -18,8 +18,6 @@
/**
* Abstract argument handler for dates.
*
- * Adds an option to set a default argument based on the current date.
- *
uuid: fab16448-67f8-4788-8b02-2ae83fe92eb9
langcode: de
status: true
dependencies:
config:
- 'migrate.migration.d6_node_revision:*'
- 'migrate.migration.d6_term_node:*'
module:
- node
- taxonomy
account:
resources:
community:
-
id: 52e1c266-25c7-46fc-ba0e-d22d3481fdc6
value: test
-
id: 5b658446-fba8-4d02-817d-f890162b5c95
value: test2
#!/usr/bin/env sh -xe
export BUILD_DIR=$(date +"%s").dev
composer create-project drupal-composer/drupal-project:8.x-dev $BUILD_DIR --stability dev --no-interaction --no-install
cd $BUILD_DIR
# @todo: Add drupal-packagist as named repo in drupal-composer/drupal-project.
composer config --unset repositories.0
composer -vvv config repositories.build vcs https://github.com/webflo/drupal-swiftmailer.git
My traceroute [v0.82]
flow-mac (0.0.0.0) Thu Jun 25 12:38:06 2015
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 10.19.121.1
/**
* Implements hook_theme_suggestions_hook_alter().
*/
function foobar_theme_suggestions_swiftmailer_alter(array &$suggestions, array $variables) {
$module_defined = array_key_exists('module', $variables['message']);
$key_defined = array_key_exists('key', $variables['message']);
if($module_defined && $key_defined) {
$suggestions[] = 'swiftmailer__' . $variables['message']['module'];
$suggestions[] = 'swiftmailer__' . $variables['message']['module'] . '__' . $variables['message']['key'];
}