Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
# Taxonomy terms: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_taxonomy_term-php | |
# Menu links: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_menu_link-php | |
# File items: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_file-php | |
# Nodes: |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
# This file customizes the steps that DrupalCI will use when testing this project. | |
# | |
# The primary customization provided here is to check for deprecation errors. It is recommended | |
# to do this only when you've used https://github.com/mglaman/drupal-check/ to verify any | |
# existing deprecation errors are addressed. | |
# | |
# Learn to make one for your own drupal.org project: | |
# https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing | |
build: | |
assessment: |
<IfModule mod_rewrite.c> | |
Options -MultiViews | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ index.php [QSA,L] | |
</IfModule> | |
<IfModule !mod_rewrite.c> | |
<IfModule mod_alias.c> | |
RedirectMatch 302 ^/$ /index.php/ |
<?php | |
namespace App\Queries; | |
use App\CommunityLink; | |
class CommunityLinksQuery | |
{ | |
/** | |
* Fetch all relevant community links. |
name: Custom twig | |
type: module | |
description: Custom Twig functions | |
core: 8.x | |
package: Custom |