Skip to content

colinappnovation/d8learning

Repository files navigation

#About this module

build status

##Introduction

This module is a result of learning during the week of 6th Dec 2016 on Drupal 8.

##Features

  • Default configuration for block with default_name setting and associated schema definition
  • Custom block
  • Custom content type thus making use of node.type.*_mytype.yml
  • Custom CSS thus making use of *.libraries.yml

##Notes

##PHPUnit

Functional and Unit, these need to be placed in tests/src/Functional or tests/src/Unit/.

Need to copy the phpunit.xml.dist to phpunit.xml which can be found in the core folder.

Commandline execution:-

    ./vendor/bin/phpunit -c web/core/ --group hello_world

##Travis

Had to use .travis.yml from drupal-ti project and modify to suite.

Tests PHP versions

  • 5.5
  • 5.6
  • 7.0

##Configuration Management

Really need to process an export of all settings first to /sync folder via below command.

drush cex

Then we can import changes from /sync when we make changes to yml file.

drush cim

About

Learning module for Drupal 8 Custom module development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published