Commit e08bc3a1 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3258410: Convert Drault Content to work with the latest Default Content module

parent 317e8033
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ Think of it as a wiki site of your product, user manuals, or organizational

[![](https://www.drupal.org/files/project-images/vardoc-mockup.png)](https://www.drupal.org/project/vardoc)

Built on top of Varbase, the open source Drupal 8 distribution, Vardoc provides
Built on top of Varbase, the open source Drupal 9 distribution, Vardoc provides
 powerful functional features such as editorial features, search function,
 taxonomy, user management, and customizable themes. It also delivers
 top-notch non-functional requirements such as enterprise security,
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ Updating Varbase is best done through Composer. We will assume that you have
 [installed Varbase the recommended way](../getting-started/installing-varbase.md) through the Composer-based project template [varbase-project](https://github.com/Vardot/varbase-project) by running the command: `composer create-project Vardot/varbase-project:^8.6 YOUR_PROJECT --no-dev --no-interaction`

This will create the Varbase project directory that will look like this:
 `/path/to/YOUR_PROJECT` with the Drupal 8 codebase installed via Varbase
 `/path/to/YOUR_PROJECT` with the Drupal 9 codebase installed via Varbase
 installation profile in `/path/to/YOUR_PROJECT/docroot`.


+0 −124
Original line number Diff line number Diff line
{
    "_links": {
        "self": {
            "href": "http:\/\/default\/admin\/structure\/menu\/item\/9\/edit?_format=hal_json"
        },
        "type": {
            "href": "http:\/\/drupal.org\/rest\/type\/menu_link_content\/menu_link_content"
        }
    },
    "id": [
        {
            "value": 9
        }
    ],
    "uuid": [
        {
            "value": "060ee9ee-fdc6-41e6-8a4e-81803e3289b6"
        }
    ],
    "langcode": [
        {
            "value": "en",
            "lang": "en"
        }
    ],
    "bundle": [
        {
            "value": "menu_link_content"
        }
    ],
    "title": [
        {
            "value": "FAQs",
            "lang": "en"
        }
    ],
    "menu_name": [
        {
            "value": "main"
        }
    ],
    "link": [
        {
            "uri": "internal:\/faqs",
            "title": null,
            "options": []
        }
    ],
    "external": [
        {
            "value": false
        }
    ],
    "rediscover": [
        {
            "value": true
        }
    ],
    "weight": [
        {
            "value": -47
        }
    ],
    "expanded": [
        {
            "value": true
        }
    ],
    "enabled": [
        {
            "value": true
        }
    ],
    "changed": [
        {
            "value": "2018-01-31T10:20:36+00:00",
            "lang": "en",
            "format": "Y-m-d\\TH:i:sP"
        }
    ],
    "default_langcode": [
        {
            "value": true,
            "lang": "en"
        }
    ],
    "metatag": [
        {
            "value": {
                "schema_web_site_type": "WebSite",
                "title": "| Vardoc",
                "canonical_url": "http:\/\/default\/%3Cnone%3E",
                "twitter_cards_type": "summary",
                "og_site_name": "Vardoc",
                "shortlink": "http:\/\/default\/%3Cnone%3E",
                "schema_web_site_name": "Vardoc",
                "schema_web_site_url": "http:\/\/default\/",
                "og_type": "website",
                "twitter_cards_title": "| Vardoc",
                "og_url": "http:\/\/default\/%3Cnone%3E",
                "og_title": "| Vardoc",
                "generator": "Varbase",
                "referrer": "origin",
                "rights": "\u00a92018 Vardoc. All rights reserved.",
                "twitter_cards_page_url": "http:\/\/default\/%3Cnone%3E",
                "twitter_cards_image": "http:\/\/default\/profiles\/vardoc\/themes\/vardoc_theme\/share-logo.png",
                "og_image": "http:\/\/default\/profiles\/vardoc\/themes\/vardoc_theme\/share-logo.png",
                "og_image_url": "http:\/\/default\/profiles\/vardoc\/themes\/vardoc_theme\/share-logo.png",
                "schema_web_site_publisher": {
                    "@type": "Organization",
                    "name": "Vardoc",
                    "url": "http:\/\/default\/",
                    "logo": {
                        "@type": "ImageObject",
                        "url": "http:\/\/default\/logo.png"
                    }
                },
                "mobileoptimized": "width",
                "handheldfriendly": "true",
                "apple_mobile_web_app_capable": "yes"
            }
        }
    ]
}
+42 −0
Original line number Diff line number Diff line
_meta:
  version: '1.0'
  entity_type: menu_link_content
  uuid: 060ee9ee-fdc6-41e6-8a4e-81803e3289b6
  bundle: menu_link_content
  default_langcode: en
default:
  revision_user:
    -
      target_id: 1
  revision_log_message:
    -
      value: 'Created new Custom menu link'
  enabled:
    -
      value: true
  title:
    -
      value: FAQs
  menu_name:
    -
      value: main
  link:
    -
      uri: 'internal:/faqs'
      title: ''
      options: {  }
  external:
    -
      value: false
  rediscover:
    -
      value: true
  weight:
    -
      value: -47
  expanded:
    -
      value: true
  revision_translation_affected:
    -
      value: true
+0 −124
Original line number Diff line number Diff line
{
    "_links": {
        "self": {
            "href": "http:\/\/default\/admin\/structure\/menu\/item\/1\/edit?_format=hal_json"
        },
        "type": {
            "href": "http:\/\/drupal.org\/rest\/type\/menu_link_content\/menu_link_content"
        }
    },
    "id": [
        {
            "value": 1
        }
    ],
    "uuid": [
        {
            "value": "2e7f966f-c302-48ed-abc9-58c38c06c29e"
        }
    ],
    "langcode": [
        {
            "value": "en",
            "lang": "en"
        }
    ],
    "bundle": [
        {
            "value": "menu_link_content"
        }
    ],
    "title": [
        {
            "value": "Varbase Documentation",
            "lang": "en"
        }
    ],
    "menu_name": [
        {
            "value": "main"
        }
    ],
    "link": [
        {
            "uri": "https:\/\/docs.varbase.vardot.com\/",
            "title": "",
            "options": []
        }
    ],
    "external": [
        {
            "value": false
        }
    ],
    "rediscover": [
        {
            "value": false
        }
    ],
    "weight": [
        {
            "value": -49
        }
    ],
    "expanded": [
        {
            "value": false
        }
    ],
    "enabled": [
        {
            "value": true
        }
    ],
    "changed": [
        {
            "value": "2017-07-26T08:52:33+00:00",
            "lang": "en",
            "format": "Y-m-d\\TH:i:sP"
        }
    ],
    "default_langcode": [
        {
            "value": true,
            "lang": "en"
        }
    ],
    "metatag": [
        {
            "value": {
                "schema_web_site_type": "WebSite",
                "title": "| Vardoc",
                "canonical_url": "http:\/\/default\/%3Cnone%3E",
                "twitter_cards_type": "summary",
                "og_site_name": "Vardoc",
                "shortlink": "http:\/\/default\/%3Cnone%3E",
                "schema_web_site_name": "Vardoc",
                "schema_web_site_url": "http:\/\/default\/",
                "og_type": "website",
                "twitter_cards_title": "| Vardoc",
                "og_url": "http:\/\/default\/%3Cnone%3E",
                "og_title": "| Vardoc",
                "generator": "Varbase",
                "referrer": "origin",
                "rights": "\u00a92018 Vardoc. All rights reserved.",
                "twitter_cards_page_url": "http:\/\/default\/%3Cnone%3E",
                "twitter_cards_image": "http:\/\/default\/profiles\/vardoc\/themes\/vardoc_theme\/share-logo.png",
                "og_image": "http:\/\/default\/profiles\/vardoc\/themes\/vardoc_theme\/share-logo.png",
                "og_image_url": "http:\/\/default\/profiles\/vardoc\/themes\/vardoc_theme\/share-logo.png",
                "schema_web_site_publisher": {
                    "@type": "Organization",
                    "name": "Vardoc",
                    "url": "http:\/\/default\/",
                    "logo": {
                        "@type": "ImageObject",
                        "url": "http:\/\/default\/logo.png"
                    }
                },
                "mobileoptimized": "width",
                "handheldfriendly": "true",
                "apple_mobile_web_app_capable": "yes"
            }
        }
    ]
}
 No newline at end of file
Loading