Drupal 8 Developer at Maria Consulting, Company Web Site

Company details
Maria Consulting LTD 1 Chelsfield House Congreve Street London SE17 1SX
Job title
Drupal 8 Developer
Period
From To

Canary Wharf, 1 months Drupal 8 project to migrate my company web site: Maria Consulting Ltd from Drupal 7 to Drupal 8. Setting up custom modules (yml configuration files) with custom migrate Plugin for importing Taxonomies, Content types, Nodes and Blocks.

Technologies

Migrate company web site from Drupal 7 to Drupal 8 using Migrate Drupal, Drupal Upgrade, Migrate Plus and Migrate Tools. Implementation of a new Bootstrap 3.3 sub theme: http://maria-consulting.co.uk

Project Description

Migrate the entire site from D7 to D8: Using Drupal upgrade module to generate all the necessary YML files for setting up a custom module with custom migrate Plugin. For example plugin: migration, migration: maria_d7_taxonomy_term to migrate taxonomies.

Responsibility

The first step was to migrate all the relevant data (Vocabulary, Terms, Nodes, Content types, Blocks, settings) from D7 to D8. Set up all the custom migrate modules, run all the migration commands to import types, content, blocks, vocabulary, taxonomy terms for example:

“drush mi maria_d7_taxonomy_term”. In D8 all the module configuration are in YML files. Also implementing the theme structure (twig, YML settings, various hooks such HOOK_preprocess_views_view_field, preprocess_region(&$vars), HOOK_preprocess_page(&$variables), etc..). Understanding the new Drupal Symfony structure such as 

$term = \Drupal::routeMatch()->getParameter('taxonomy_term');
$node = \Drupal::routeMatch()->getParameter('node');

and the way to read data (in Drupal 7 there was a nasty way [0]['value']), in D8 instead is with Iterator which is much more elegant and Object Oriented:

$field_tags = $node->get('field_tags');
$iterator = $field_tags->getIterator();

Create new templates, CSS for views such as related services, our projects, flex slider, our home page latest articles, web form, regions, menus, header, etc..

Technologies and Methodologies: Drupal 8, all migrate modules, Views, Form API, Reusable forms, Workflow, Bootstrap 3.3 custom sub theme, responsive layouts, Drupal 8 Core, Hooks. Tools: PHP Storm, GitHub, Putty, Apache.