- collections: OK
- providers
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 | |
namespace Drupal\saintlukes_migrate\Plugin\migrate\source\d7; | |
use Drupal\migrate\Row; | |
use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity; | |
/** | |
* Drupal 7 field_collection_item source from database. | |
* |
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
// Remove constraint and index | |
queryInterface.sequelize.query( | |
'ALTER TABLE "project" DROP CONSTRAINT IF EXISTS project_name_key;' | |
).then(function() { | |
return queryInterface.removeIndex('project', 'project_name_key'); | |
}); | |
// Add unique constraint and index | |
queryInterface.addIndex('project', ['name'], { | |
indexName: 'project_name_key', |
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
git diff --name-status --diff-filter=D 5fc32f5 HEAD | grep '.*\.module' |
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
// your code goes here ... | |
(function () { | |
// Get the elements we need to act on or attach listeners to. | |
var household_list = document.querySelector('.household'); | |
var form = document.querySelector('form'); | |
var buttons = form.querySelectorAll('button'); | |
var add_button = buttons[0]; | |
var submit_button = buttons[1]; | |
// Add click handlers. |
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
diff --git a/geolocation.libraries.yml b/geolocation.libraries.yml | |
index 71c2fcf..b5dfaaf 100644 | |
--- a/geolocation.libraries.yml | |
+++ b/geolocation.libraries.yml | |
@@ -22,6 +22,12 @@ geolocation.views.filter.geocoder: | |
dependencies: | |
- geolocation/geolocation.geocoder | |
+# HTML5 Geolocation API. | |
+geolocation.html5: |
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
diff --git a/geolocation.libraries.yml b/geolocation.libraries.yml | |
index 71c2fcf..b5dfaaf 100644 | |
--- a/geolocation.libraries.yml | |
+++ b/geolocation.libraries.yml | |
@@ -22,6 +22,12 @@ geolocation.views.filter.geocoder: | |
dependencies: | |
- geolocation/geolocation.geocoder | |
+# HTML5 Geolocation API. | |
+geolocation.html5: |
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
diff --git a/geolocation.libraries.yml b/geolocation.libraries.yml | |
index 71c2fcf..b5dfaaf 100644 | |
--- a/geolocation.libraries.yml | |
+++ b/geolocation.libraries.yml | |
@@ -22,6 +22,12 @@ geolocation.views.filter.geocoder: | |
dependencies: | |
- geolocation/geolocation.geocoder | |
+# HTML5 Geolocation API. | |
+geolocation.html5: |
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
diff --git a/geolocation.libraries.yml b/geolocation.libraries.yml | |
index 71c2fcf..b5dfaaf 100644 | |
--- a/geolocation.libraries.yml | |
+++ b/geolocation.libraries.yml | |
@@ -22,6 +22,12 @@ geolocation.views.filter.geocoder: | |
dependencies: | |
- geolocation/geolocation.geocoder | |
+# HTML5 Geolocation API. | |
+geolocation.html5: |
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
(function ($, Drupal, drupalSettings) { | |
'use strict'; | |
/** | |
* @namespace | |
*/ | |
drupalSettings.geolocation.html5 = drupalSettings.geolocation.html5 || {}; | |
drupalSettings.geolocation.html5.proximity_view_ids = drupalSettings.geolocation.html5.proximity_view_ids || []; | |
Drupal.behaviors.geolocationProximityHTML5 = { |
NewerOlder