ROBERTO PERUZZO
T @robertoperuzzoW www.studioaqua.itIn it.linkedin.com/in/robertoperuzzo B www.robertoperuzzo.it
Web Developer Freelance and STUDIO AQUA co-founder
Porting D7 module - DrupalDay Roma 2017
AGENDA
1. Perché convertire un modulo D7
2. I primi passi con Iubenda Integration
3. Punti salienti nella conversione
4. Domande e risposte
Porting D7 module - DrupalDay Roma 2017
Nov 19th, 2015
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/8
NON RINUNCIARE ALLE POTENZIALITÀ DI D8
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.com/why-drupal-8
LTS VERSION
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/node/2383987
IUBENDA INTEGRATION
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/project/iubenda_integration
IUBENDA
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.iubenda.com
LETTURA
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/docs/8/converting-drupal-7-modules-to-drupal-8
INDIVIDUA COSA MODIFICARE
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/project/drupalmoduleupgrader
DRUPAL MODULE UPGRADER
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/project/drupalmoduleupgrader
drush dl drupalmoduleupgrader
cd modules/drupalmoduleupgrader
composer install
drush en drupalmoduleupgrader
DRUPAL MODULE UPGRADER
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/project/drupalmoduleupgrader
1. Analizzare il codice del modulodrush dmu-analyze MODULE_NAME
2. Aggiornare il modulodrush dmi-upgrade MODULE_NAME
D7 page argument
Porting D7 module - DrupalDay Roma 2017
File: includes/iubenda_integration.admin.inc
D8 ConfigFormBase Class
Porting D7 module - DrupalDay Roma 2017
File: src/Form/IubendaSettingsForm.php
D7 BLOCK THEMING
Porting D7 module - DrupalDay Roma 2017
File: templates/iubenda-integration-privacy-policy-block.tpl.php
Block setting page
Porting D7 module - DrupalDay Roma 2017
URL: admin/config/system/iubenda-integration
D8 BLOCK PLUGIN - build()
Porting D7 module - DrupalDay Roma 2017
File: src/Plugin/Block/PrivacyPolicy.php
DOCUMENTAZIONE
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/docs/8/theming/twig/create-custom-twig-templates-from-custom-module
Blocco preventivo dei cookieClasse PHP
Porting D7 module - DrupalDay Roma 2017
Fonte: http://www.iubenda.com/it/help/posts/1045
Libraries module issue
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/node/1704734
Composer
Porting D7 module - DrupalDay Roma 2017
Fonte: https://www.drupal.org/node/2671754
TAKE AWAY
Porting D7 module - DrupalDay Roma 2017
Unisciti alla Community per finalmente costruire qualcosa di straordinario in Drupal 8
GRAZIE!
Porting D7 module - DrupalDay Roma 2017
T @robertoperuzzoW www.studioaqua.it
In it.linkedin.com/in/robertoperuzzo B www.robertoperuzzo.it
Top Related