Initial Drupal 11 with DDEV setup
This commit is contained in:
17
web/core/recipes/content_search/recipe.yml
Normal file
17
web/core/recipes/content_search/recipe.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: 'Content search'
|
||||
type: Search
|
||||
description: 'Adds a page that can search site content.'
|
||||
install:
|
||||
- node
|
||||
- search
|
||||
config:
|
||||
import:
|
||||
node:
|
||||
- core.entity_view_mode.node.search_index
|
||||
- core.entity_view_mode.node.search_result
|
||||
- search.page.node_search
|
||||
actions:
|
||||
user.role.anonymous:
|
||||
grantPermission: 'search content'
|
||||
user.role.authenticated:
|
||||
grantPermission: 'search content'
|
||||
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Drupal\FunctionalTests\Recipe\Core\content_search;
|
||||
|
||||
use Drupal\Tests\system\Functional\Recipe\GenericRecipeTestBase;
|
||||
|
||||
/**
|
||||
* @group core_content_search_recipe
|
||||
*/
|
||||
class GenericTest extends GenericRecipeTestBase {}
|
||||
Reference in New Issue
Block a user