Skip to content

Instantly share code, notes, and snippets.

diff --git a/core/modules/taxonomy/src/Entity/Routing/VocabularyRouteProvider.php b/core/modules/taxonomy/src/Entity/Routing/VocabularyRouteProvider.php
index 56a93dc..fb53652 100644
--- a/core/modules/taxonomy/src/Entity/Routing/VocabularyRouteProvider.php
+++ b/core/modules/taxonomy/src/Entity/Routing/VocabularyRouteProvider.php
@@ -49,7 +49,7 @@ protected function getResetPageRoute(EntityTypeInterface $entity_type) {
$route = new Route('/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/reset');
$route->setDefault('_entity_form', 'taxonomy_vocabulary.reset');
$route->setDefault('_title', 'Reset');
- $route->setRequirement('_permission', $entity_type->getAdminPermission());
+ $route->setRequirement('_entity_access', 'taxonomy_vocabulary.reset all weights');
diff --git a/core/modules/layout_builder/config/schema/layout_builder.schema.yml b/core/modules/layout_builder/config/schema/layout_builder.schema.yml
index 862c90e..f657f0e 100644
--- a/core/modules/layout_builder/config/schema/layout_builder.schema.yml
+++ b/core/modules/layout_builder/config/schema/layout_builder.schema.yml
@@ -66,6 +66,12 @@ inline_block:
block_serialized:
type: string
label: 'Serialized block'
+ type:
+ type: string
diff --git a/pathauto.install b/pathauto.install
index 1322a29..6072821 100644
--- a/pathauto.install
+++ b/pathauto.install
@@ -8,6 +8,7 @@
*/
use Drupal\Core\Entity\Entity\EntityFormDisplay;
+use Drupal\Core\Entity\FieldableEntityInterface;
use Drupal\pathauto\Entity\PathautoPattern;
diff --git a/core/config/schema/core.entity.schema.yml b/core/config/schema/core.entity.schema.yml
index 8850d40..58f3a05 100644
--- a/core/config/schema/core.entity.schema.yml
+++ b/core/config/schema/core.entity.schema.yml
@@ -337,6 +337,17 @@ field.formatter.settings.timestamp:
timezone:
type: string
label: 'Time zone'
+ show_prefix_label:
+ type: boolean
diff --git a/address.module b/address.module
index db1ae7f..e9201c4 100644
--- a/address.module
+++ b/address.module
@@ -18,6 +18,7 @@ function address_theme() {
'organization' => '',
'address_line1' => '',
'address_line2' => '',
+ 'address_line3' => '',
'postal_code' => '',
diff --git a/config/install/simple_fb_connect.settings.yml b/config/install/simple_fb_connect.settings.yml
index a3cf9e6..29968b3 100644
--- a/config/install/simple_fb_connect.settings.yml
+++ b/config/install/simple_fb_connect.settings.yml
@@ -5,3 +5,4 @@ post_login_path: user
redirect_user_form: 0
disable_admin_login: 1
disabled_roles: []
+force_user_creation: 0
diff --git a/config/schema/simple_fb_connect.schema.yml b/config/schema/simple_fb_connect.schema.yml
@ilyano
ilyano / test
Last active April 21, 2017 10:36
diff --git a/facets_pretty_paths.services.yml b/facets_pretty_paths.services.yml
index 90f2860..e65eb7b 100644
--- a/facets_pretty_paths.services.yml
+++ b/facets_pretty_paths.services.yml
@@ -1,6 +1,7 @@
services:
facets_pretty_paths.path_processor:
class: Drupal\facets_pretty_paths\PathProcessorPrettyPaths
+ arguments: ['@language_manager']
tags:
diff --git a/facets_pretty_paths.services.yml b/facets_pretty_paths.services.yml
index 90f2860..95fda71 100644
--- a/facets_pretty_paths.services.yml
+++ b/facets_pretty_paths.services.yml
@@ -1,6 +1,7 @@
services:
facets_pretty_paths.path_processor:
class: Drupal\facets_pretty_paths\PathProcessorPrettyPaths
+ arguments: ['@module_handler', '@language_manager']
tags:
@ilyano
ilyano / webform-beta3-link-plugin-fix.patch
Created March 14, 2017 18:52
Webform Drupal module beta3 version link plugin fix