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
'dialog:aftercreate': function (event, dialog, $element, settings) { | |
if ($element.is('#drupal-offcanvas')) { | |
var eventData = {settings: settings, $element: $element}; | |
// Add dialog id for CSS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
$('.ui-dialog-offcanvas').attr('id','dialog-offcanvas'); | |
$element | |
.on('dialogresize.outsidein', eventData, debounce(bodyPadding, 100)) | |
.on('dialogContentResize.outsidein', eventData, handleDialogResize) | |
.trigger('dialogresize.outsidein'); |
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
<html> | |
<head> | |
</head> | |
<body> | |
<h1><a href="#" id="login">login</a></h1> | |
<h1><a href="#" id="logout">logout</a></h1> | |
<h1><a href="#" id="get-node-1">get node 1</a></h1> | |
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script> | |
<script type="text/javascript"> |
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/core/modules/outside_in/js/offcanvas.js b/core/modules/outside_in/js/offcanvas.js | |
index b3c4237..9522f03 100644 | |
--- a/core/modules/outside_in/js/offcanvas.js | |
+++ b/core/modules/outside_in/js/offcanvas.js | |
@@ -106,6 +106,7 @@ | |
$element.dialog('widget').attr('data-offset-' + edge, ''); | |
+ $element.closest('[role="dialog"]').wrap('<div class="offcanvas-wrapper"></div>'); | |
$(window) |
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/core/modules/field_layout/field_layout.layouts.yml b/core/modules/field_layout/field_layout.layouts.yml | |
index 0aaa87b..ed30a94 100644 | |
--- a/core/modules/field_layout/field_layout.layouts.yml | |
+++ b/core/modules/field_layout/field_layout.layouts.yml | |
@@ -19,3 +19,18 @@ twocol: | |
label: Left | |
right: | |
label: Right | |
+ | |
+threecol: |
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
{ | |
"data": [ | |
{ | |
"type": "node--article", | |
"id": "799bf41c-5f5d-403f-8c51-b929dd649794", | |
"attributes": { | |
"nid": 1, | |
"uuid": "799bf41c-5f5d-403f-8c51-b929dd649794", | |
"vid": 1, | |
"langcode": "en", |
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
{ | |
"$schema":"http://json-schema.org/draft-04/schema#", | |
"id":"http://d8/schemata/node/article?_format=schema_json&_describes=hal_json", | |
"type":"object", | |
"title":"node:article Schema", | |
"description":"Use articles for time-sensitive content like news, press releases or blog posts.", | |
"properties":{ | |
"nid":{ | |
"type":"array", | |
"title":"ID", |
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
Drupal\Core\Entity\Query\QueryException: '' not found in Drupal\Core\Entity\Query\Sql\Tables->ensureEntityTable() (line 367 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php). | |
Drupal\Core\Entity\Query\Sql\Tables->addField(, 'INNER', 'en') (Line: 52) | |
Drupal\Core\Entity\Query\Sql\Condition->compile(Object) (Line: 172) | |
Drupal\Core\Entity\Query\Sql\Query->compile() (Line: 80) | |
Drupal\Core\Entity\Query\Sql\Query->execute() (Line: 433) | |
Drupal\Core\Entity\ContentEntityStorageBase->getLatestTranslationAffectedRevisionId('1', 'en') (Line: 255) | |
Drupal\Core\Entity\EntityRepository->getLatestTranslationAffectedRevision(Object, 'en') (Line: 162) | |
Drupal\Core\Entity\EntityRepository->getActiveMultiple('node', Array, Array) (Line: 136) | |
Drupal\Core\Entity\EntityRepository->getActive('node', '1') (Line: 231) | |
Drupal\layout_builder\Plugin\SectionStorage\OverridesSectionStorage->extractEntityFromRoute('', Array) (Line: 192) |
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
### Rector changes but with rule mentioned | |
### vendor/bin/rector process web/modules/abookings/includes/emails.inc --dry-run --verbose | |
---------- begin diff ---------- | |
--- Original | |
+++ New | |
@@ -3,12 +3,11 @@ | |
* @file | |
* Contains emails abookings.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
### Rector changes but with rule mentioned | |
### vendor/bin/rector process web/modules/abookings/includes/emails.inc --dry-run --verbose | |
---------- begin diff ---------- | |
--- Original | |
+++ New | |
@@ -3,12 +3,11 @@ | |
* @file | |
* Contains emails abookings.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
### Rector changes but with rule mentioned | |
### vendor/bin/rector process web/modules/abookings/includes/emails.inc --dry-run --verbose | |
---------- begin diff ---------- | |
--- Original | |
+++ New | |
@@ -3,12 +3,11 @@ | |
* @file | |
* Contains emails abookings.module. | |
*/ | |
- |