This repository has been archived by the owner on Nov 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #378 from govCMS/release/1.0-beta11
Release/1.0 beta11
- Loading branch information
Showing
8 changed files
with
96 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
uuid: 79f41ad6-d7b2-48df-afe2-81832af22b75 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- node | ||
_core: | ||
default_config_hash: Tt8DtxZ3Nooo0PoWPpJvszA3R_5d8MmpUW7LM_R-BzY | ||
id: default | ||
label: Default | ||
description: 'A default Linkit profile' | ||
matchers: | ||
556010a3-e317-48b3-b4ed-854c10f4b950: | ||
uuid: 556010a3-e317-48b3-b4ed-854c10f4b950 | ||
id: 'entity:node' | ||
weight: 0 | ||
settings: | ||
metadata: 'by [node:author] | [node:created:medium]' | ||
bundles: { } | ||
group_by_bundle: false | ||
include_unpublished: false | ||
substitution_type: canonical | ||
limit: 100 | ||
fb620089-0ffb-4227-8530-7b09237b217a: | ||
uuid: fb620089-0ffb-4227-8530-7b09237b217a | ||
id: 'entity:media' | ||
weight: 0 | ||
settings: | ||
metadata: '[media:field_media_file:entity:basename] | [media:field_media_file:entity:size]' | ||
bundles: | ||
file: file | ||
group_by_bundle: true | ||
substitution_type: media | ||
limit: 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
core = 8.x | ||
api = 2 | ||
projects[drupal][type] = core | ||
projects[drupal][version] = 8.7.8 | ||
projects[drupal][version] = 8.7.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
modules/custom/core/govcms_content_types/govcms_content_types.module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/** | ||
* Implements hook_form_alter(). | ||
* | ||
* @inheritDoc | ||
*/ | ||
function govcms_content_types_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) { | ||
|
||
// Author information shouldn't be displayed by default for new content types. | ||
// If desired, it can be enabled however ISM states individual employees | ||
// shouldn't have their names or details present on the website. | ||
if ($form_id === "node_type_add_form") { | ||
$form['display']['display_submitted']['#default_value'] = 0; | ||
} | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
...vcms_content_types/govcms_standard_page/config/install/pathauto.pattern.standard_page.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- node | ||
id: standard_page | ||
label: Standard Page | ||
type: 'canonical_entities:node' | ||
pattern: '[node:title]' | ||
selection_criteria: | ||
3541b888-ba9c-41b5-85a4-a16148c9c5b4: | ||
id: node_type | ||
bundles: | ||
govcms_standard_page: govcms_standard_page | ||
negate: false | ||
context_mapping: | ||
node: node | ||
uuid: 3541b888-ba9c-41b5-85a4-a16148c9c5b4 | ||
selection_logic: and | ||
weight: -5 | ||
relationships: { } |