Testna vsebina (dve strani, en meni)
parent
a9d3c8b644
commit
2b8f7fb9ce
|
@ -22,6 +22,9 @@
|
||||||
"drupal/core-recommended": "^10.0",
|
"drupal/core-recommended": "^10.0",
|
||||||
"drupal/gin": "^3.0@RC",
|
"drupal/gin": "^3.0@RC",
|
||||||
"drupal/gin_toolbar": "^1.0@RC",
|
"drupal/gin_toolbar": "^1.0@RC",
|
||||||
|
"drupal/jsonapi_menu_items": "^1.2",
|
||||||
|
"drupal/single_content_sync": "^1.3",
|
||||||
|
"drupal/yaml_content": "^1.0@dev",
|
||||||
"drush/drush": "^11.4"
|
"drush/drush": "^11.4"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "73a6c15351a576b9f11a60fec8748fd5",
|
"content-hash": "71ddb6ffcc6a7fe35213ac457365e193",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "asm89/stack-cors",
|
"name": "asm89/stack-cors",
|
||||||
|
@ -1593,6 +1593,236 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/jsonapi_menu_items",
|
||||||
|
"version": "1.2.4",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/jsonapi_menu_items.git",
|
||||||
|
"reference": "1.2.4"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/jsonapi_menu_items-1.2.4.zip",
|
||||||
|
"reference": "1.2.4",
|
||||||
|
"shasum": "84f4c896b7addbe21c6af7261b0ea4a1740dd9eb"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9 || ^10",
|
||||||
|
"drupal/jsonapi_resources": "^1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"drupal/jsonapi_hypermedia": "^1.6"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "1.2.4",
|
||||||
|
"datestamp": "1670645270",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "acbramley",
|
||||||
|
"homepage": "https://www.drupal.org/user/1036766"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Deciphered",
|
||||||
|
"homepage": "https://www.drupal.org/user/103796"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "larowlan",
|
||||||
|
"homepage": "https://www.drupal.org/user/395439"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mglaman",
|
||||||
|
"homepage": "https://www.drupal.org/user/2416470"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Adds a JSON API resource for menu items.",
|
||||||
|
"homepage": "https://www.drupal.org/project/jsonapi_menu_items",
|
||||||
|
"keywords": [
|
||||||
|
"Drupal",
|
||||||
|
"JSON API"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/jsonapi_menu_items"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/jsonapi_resources",
|
||||||
|
"version": "1.0.0-beta5",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/jsonapi_resources.git",
|
||||||
|
"reference": "8.x-1.0-beta5"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/jsonapi_resources-8.x-1.0-beta5.zip",
|
||||||
|
"reference": "8.x-1.0-beta5",
|
||||||
|
"shasum": "dfd7145978efad8c258b023b47413220e590812b"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^8.8 || ^9 || ^10"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-1.0-beta5",
|
||||||
|
"datestamp": "1668787739",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "not-covered",
|
||||||
|
"message": "Beta releases are not covered by Drupal security advisories."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0+"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "API-First Initiative",
|
||||||
|
"homepage": "https://www.drupal.org/user/3616626"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "gabesullice",
|
||||||
|
"homepage": "https://www.drupal.org/user/2287430"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mglaman",
|
||||||
|
"homepage": "https://www.drupal.org/user/2416470"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "This module let's you define custom resources at routes of your choice that use existing resource types.",
|
||||||
|
"homepage": "https://www.drupal.org/project/jsonapi_resources",
|
||||||
|
"keywords": [
|
||||||
|
"Drupal",
|
||||||
|
"JSON API"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/jsonapi_resources"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/single_content_sync",
|
||||||
|
"version": "1.3.13",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/single_content_sync.git",
|
||||||
|
"reference": "1.3.13"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/single_content_sync-1.3.13.zip",
|
||||||
|
"reference": "1.3.13",
|
||||||
|
"shasum": "e1db23df460b5a92c7347f8e85629d7e2fbeeb11"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9.3 || ^10",
|
||||||
|
"ext-dom": "*",
|
||||||
|
"ext-zip": "*",
|
||||||
|
"php": ">=7.4"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "1.3.13",
|
||||||
|
"datestamp": "1680707225",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "covered",
|
||||||
|
"message": "Covered by Drupal's security advisory policy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Alex Kuzava (nginex)",
|
||||||
|
"homepage": "https://www.drupal.org/u/nginex",
|
||||||
|
"role": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "nginex",
|
||||||
|
"homepage": "https://www.drupal.org/user/2822325"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "This is a simple way of exporting a single node to yml file with possibility to import it on another environment.",
|
||||||
|
"homepage": "https://drupal.org/project/single_content_sync",
|
||||||
|
"support": {
|
||||||
|
"source": "https://cgit.drupalcode.org/single_content_sync",
|
||||||
|
"issues": "https://drupal.org/project/issues/single_content_sync"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/yaml_content",
|
||||||
|
"version": "dev-1.x",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/yaml_content.git",
|
||||||
|
"reference": "9f39fa762fda3285d091b276b787b4f6247b43c4"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9 || ^10"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"mikey179/vfsstream": "^1.0"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-1.x": "1.x-dev"
|
||||||
|
},
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-1.0-alpha8+1-dev",
|
||||||
|
"datestamp": "1666891400",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "not-covered",
|
||||||
|
"message": "Project has not opted into security advisory coverage!"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"drush": {
|
||||||
|
"services": {
|
||||||
|
"drush.services.yml": "^9"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "DamienMcKenna",
|
||||||
|
"homepage": "https://www.drupal.org/user/108450"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "shrop",
|
||||||
|
"homepage": "https://www.drupal.org/user/14767"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "slucero",
|
||||||
|
"homepage": "https://www.drupal.org/user/1612534"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Demo content generator using yaml content templates.",
|
||||||
|
"homepage": "https://www.drupal.org/project/yaml_content",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/yaml_content"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drush/drush",
|
"name": "drush/drush",
|
||||||
"version": "11.4.0",
|
"version": "11.4.0",
|
||||||
|
@ -6017,7 +6247,8 @@
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"stability-flags": {
|
"stability-flags": {
|
||||||
"drupal/gin": 5,
|
"drupal/gin": 5,
|
||||||
"drupal/gin_toolbar": 5
|
"drupal/gin_toolbar": 5,
|
||||||
|
"drupal/yaml_content": 20
|
||||||
},
|
},
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ddev drush yaml-content-import-module yufu_data
|
|
@ -0,0 +1,11 @@
|
||||||
|
- entity: "node"
|
||||||
|
type: "page"
|
||||||
|
title: YuFu
|
||||||
|
status: 1
|
||||||
|
body:
|
||||||
|
- format: "plain_text"
|
||||||
|
value: "Dobrodošli na YuFu projektu.\n\nV izgradnji."
|
||||||
|
|
||||||
|
path:
|
||||||
|
- alias: '/home'
|
||||||
|
pathauto: false
|
|
@ -0,0 +1,17 @@
|
||||||
|
- entity: "menu_link_content"
|
||||||
|
title: "Home"
|
||||||
|
menu_name: "main"
|
||||||
|
weight: 0
|
||||||
|
# Defaults to enabled if omitted, but can be disabled by setting to 0.
|
||||||
|
enabled: 1
|
||||||
|
link:
|
||||||
|
uri: "internal:/home"
|
||||||
|
|
||||||
|
- entity: "menu_link_content"
|
||||||
|
title: "O nas"
|
||||||
|
menu_name: "main"
|
||||||
|
weight: 1
|
||||||
|
# Defaults to enabled if omitted, but can be disabled by setting to 0.
|
||||||
|
enabled: 1
|
||||||
|
link:
|
||||||
|
uri: "internal:/o-nas"
|
|
@ -0,0 +1,12 @@
|
||||||
|
- entity: "node"
|
||||||
|
type: "page"
|
||||||
|
title: "O projektu"
|
||||||
|
status: 1
|
||||||
|
uid: 1
|
||||||
|
body:
|
||||||
|
- format: "plain_text"
|
||||||
|
value: "Platforma za pisanje jugofuturističnega manifesta.\r\nVeč o Jugofuturizmu na Maski: https://maska.si/projekti/yufu/\r\nCikel Jugofuturizem na Radiu Študent: https://radiostudent.si/kultura/cikel-jugofuturizem"
|
||||||
|
|
||||||
|
path:
|
||||||
|
- alias: '/o-nas'
|
||||||
|
pathauto: false
|
|
@ -0,0 +1,5 @@
|
||||||
|
name: YuFu data
|
||||||
|
type: module
|
||||||
|
description: Prvotni podatki (YAML)
|
||||||
|
package: YuFu
|
||||||
|
core_version_requirement: ^9 || ^10
|
Loading…
Reference in New Issue