This file contains hidden or 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
<?php | |
/** | |
* Implements hook_theme_registry_alter() | |
*/ | |
function radius_settings_theme_registry_alter(&$theme_registry) { | |
$theme_registry['file_link']['function'] = 'radius_settings_file_link'; | |
} | |
/** |
This file contains hidden or 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
name: Matthew | |
description: A simple hello world module. | |
core: 8.x | |
package: Custom | |
type: module |
This file contains hidden or 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
<!DOCTYPE html> | |
<html{{ html_attributes }}> | |
<head> | |
{{ page.head }} | |
<title>{{ head_title }}</title> | |
{{ page.styles }} | |
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> | |
{{ page.scripts }} | |
</head> | |
<body{{ attributes }}> |
This file contains hidden or 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
<?php | |
/** | |
* Add custom scripts | |
*/ | |
function matt_page_alter(&$page) { | |
$page['#attached']['library'][] = 'matt/matt-corescripts'; | |
} |
This file contains hidden or 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
matt-corescripts: | |
version: VERSION | |
js: | |
js/modernizr.custom.04204.js: {} |
This file contains hidden or 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
<?php | |
/** | |
* Add jquery | |
*/ | |
function matt_page_alter(&$page) { | |
$page['#attached']['library'][] = 'core/jquery'; | |
} |
This file contains hidden or 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
parameters: | |
twig.config: | |
# Twig debugging: | |
# | |
# When debugging is enabled: | |
# - The markup of each Twig template is surrounded by HTML comments that | |
# contain theming information, such as template file name suggestions. | |
# - Note that this debugging markup will cause automated tests that directly | |
# check rendered HTML to fail. When running automated tests, 'twig_debug' | |
# should be set to FALSE. |
This file contains hidden or 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
name: 'matt' | |
type: theme | |
description: 'My first custom drupal 8 theme' | |
stylesheets: | |
all: | |
- css/styles.css | |
js: | |
js/modernizr.custom.04204.js: {} | |
regions: | |
header: 'Header' |
This file contains hidden or 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
html { | |
line-height: 1.5; | |
font-size: 100%; | |
word-wrap: break-word; | |
-webkit-text-size-adjust: 100%; | |
line-height: 1.5; | |
height: 100%; | |
overflow-y: scroll; | |
} |
This file contains hidden or 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
{ | |
"body": "sdds dsf sdf sdfsdf ds\n", | |
"subtitle": "test aa", | |
"hero_image": { | |
"file": { | |
"uri": "http://localhost:8888/api/v1/file/2853", | |
"id": "2853", | |
"resource": "file", | |
"type": "image", |