A command line shell for Drupal.
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": "", | |
| "version": "", | |
| "authors": "", | |
| "description": "", | |
| "repository": { | |
| "type": "git", | |
| "url": "" | |
| }, | |
| "license": "MIT", |
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
| /** | |
| * Open All External Links In New Window | |
| */ | |
| (function ($) { | |
| 'use strict'; | |
| $('a').filter(function () { | |
| return this.hostname && this.hostname !== location.hostname; | |
| }).attr('target', '_blank'); | |
| })(jQuery); |
In Drupal 8, themes can modify the entire theme settings form by adding a PHP function to either the THEMENAME.theme file or to a theme-settings.php file. In one of those files, a theme should use THEMENAME_form_system_theme_settings_alter(&$form, $form_state) hook function.
File: theme-settings.php
NewerOlder