Skip to content

Commit

Permalink
name trimming
Browse files Browse the repository at this point in the history
  • Loading branch information
konfuzed committed Feb 24, 2022
1 parent 7dfb96b commit 1e825e8
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 73 deletions.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "gtsciences/gt_drupal_profile",
"name": "gtsciences/gt_profile",
"description": "GT Sciences Drupal profile, for a more civilized age",
"type": "drupal-profile",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -75,7 +75,7 @@
"drupal/views_data_export": "^1.1",
"drupal/webform": "^6.2@beta",
"drupal/honeypot": "^2.0",
"gtsciences/gt_drupal_sso": "^1.0@dev",
"gtsciences/gt_sso": "^1.0@dev",
"gtsciences/gt": "^1.0@dev",
"gtsciences/hg_reader": "^1.0@dev"
},
Expand All @@ -91,7 +91,6 @@
"cweagans/composer-patches": true,
"deployer/deployer": true,
"drupal/*": true,
"gt/*": true,
"gtsciences/*": true,
"oomphinc/composer-installers-extender": true,
"wikimedia/composer-merge-plugin": true
Expand Down
65 changes: 0 additions & 65 deletions gt.info.yml

This file was deleted.

65 changes: 65 additions & 0 deletions gt_profile.info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: GT
type: profile
description: "GT Sciences Drupal 9+ Installation Profile"
core_version_requirement: ^9 || ^10
distribution:
- name: Georgia Tech College of Sciences Profile

dependencies:
# Core
- block
- breakpoint
- block_content
- ckeditor5
- config
- contextual
- datetime
- editor
- image
- file
- media_library
- menu_link_content
- menu_ui
- node
- options
- path
- search
- taxonomy
- toolbar
- views

install:
# Core
- automated_cron
- dblog
- editor
- help
- history
- link
- media

# Contrib
- admin_toolbar
- block_content
- dynamic_page_cache
- embed
- entity_embed
- field_group
- field_ui
- page_cache
- paragraphs
- pathauto
- rdf
- responsive_image
- shortcut
- social_media_links
- telephone
- twig_tweak
- views_ui

# Custom
- gt_sso

themes:
- claro
- gt
4 changes: 2 additions & 2 deletions gt.install → gt_profile.install
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ use Drupal\block\Entity\Block;
/**
* Implements hook_preprocess_install_page().
*/
function gt_preprocess_install_page(&$variables) {
function gt_profile_preprocess_install_page(&$variables) {
$variables['#attached']['library'][] = 'gt/gt-installer';
}


function gt_install() {
function gt_profile_install() {
/**
* The basics
*/
Expand Down
1 change: 0 additions & 1 deletion gt.libraries.yml → gt_profile.libraries.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
gt-installer:
version: VERSION
css:
theme:
css/gt.css: {}
Expand Down
2 changes: 1 addition & 1 deletion gt.links.menu.yml → gt_profile.links.menu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
gt.front_page:
gt_profile.front_page:
title: 'Home'
route_name: '<front>'
menu_name: main
2 changes: 1 addition & 1 deletion gt.profile → gt_profile.profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Allows the profile to alter the site configuration form.
*/

function gt_form_install_configure_form_alter(&$form, $form_state) {
function gt_profile_form_install_configure_form_alter(&$form, $form_state) {
$form['admin_account']['account']['name']['#default_value'] = 'altotus';
$form['regional_settings']['site_default_country']['#default_value'] = 'US';
$form['regional_settings']['date_default_timezone']['#default_value'] = 'America/New_York';
Expand Down

0 comments on commit 1e825e8

Please sign in to comment.