Initial Drupal 11 with DDEV setup
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
_meta:
|
||||
version: '1.0'
|
||||
entity_type: shortcut
|
||||
uuid: 478b3170-1dfd-49d8-8eb3-f1b285445ab7
|
||||
bundle: default
|
||||
default_langcode: en
|
||||
default:
|
||||
title:
|
||||
-
|
||||
value: 'All content'
|
||||
weight:
|
||||
-
|
||||
value: -19
|
||||
link:
|
||||
-
|
||||
uri: 'internal:/admin/content'
|
||||
title: ''
|
||||
options: { }
|
||||
@ -0,0 +1,18 @@
|
||||
_meta:
|
||||
version: '1.0'
|
||||
entity_type: shortcut
|
||||
uuid: d5377721-d6de-4fdf-82e2-557c50f84ceb
|
||||
bundle: default
|
||||
default_langcode: en
|
||||
default:
|
||||
title:
|
||||
-
|
||||
value: 'Add content'
|
||||
weight:
|
||||
-
|
||||
value: -20
|
||||
link:
|
||||
-
|
||||
uri: 'internal:/node/add'
|
||||
title: ''
|
||||
options: { }
|
||||
12
web/core/recipes/basic_shortcuts/recipe.yml
Normal file
12
web/core/recipes/basic_shortcuts/recipe.yml
Normal file
@ -0,0 +1,12 @@
|
||||
name: 'Basic shortcuts'
|
||||
description: 'Provides a basic set of shortcuts for logged-in users.'
|
||||
type: Administration
|
||||
install:
|
||||
- shortcut
|
||||
config:
|
||||
import:
|
||||
shortcut:
|
||||
- shortcut.set.default
|
||||
actions:
|
||||
user.role.authenticated:
|
||||
grantPermission: 'access shortcuts'
|
||||
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Drupal\FunctionalTests\Recipe\Core\basic_shortcuts;
|
||||
|
||||
use Drupal\Tests\system\Functional\Recipe\GenericRecipeTestBase;
|
||||
|
||||
/**
|
||||
* @group core_basic_shortcuts_recipe
|
||||
*/
|
||||
class GenericTest extends GenericRecipeTestBase {}
|
||||
Reference in New Issue
Block a user