This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| <?php | |
| $str = " This is a test | |
| string spanning | |
| multiple lines. | |
| It contains three | |
| sentences, each are | |
| split on three lines. | |
| The indentation decides | |
| which lines belongs | |
| to which sentence."; |
| <?php | |
| /** | |
| * @file | |
| * Convert YAML snippet to PHP code snippet to write its values to database. | |
| */ | |
| use Drupal\Component\Serialization\Yaml; | |
| // Replace the input below with any part of a valid YAML snippet. |
| <?php | |
| /** | |
| * @file | |
| * Convert a YAML file to PHP code to write its values to the database. | |
| */ | |
| use Drupal\Component\Serialization\Yaml; | |
| // Replace 'filter.format.full_html' with any other existing configuration |
| {"af":["Afrikaans","Afrikaans"],"am":["Amharic","\u12a0\u121b\u122d\u129b"],"ar":["Arabic","\u0627\u0644\u0639\u0631\u0628\u064a\u0629","rtl"],"ast":["Asturian","Asturianu"],"az":["Azerbaijani","Az\u0259rbaycanca"],"be":["Belarusian","\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f"],"bg":["Bulgarian","\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"],"bn":["Bengali","\u09ac\u09be\u0982\u09b2\u09be"],"bo":["Tibetan","\u0f56\u0f7c\u0f51\u0f0b\u0f66\u0f90\u0f51\u0f0b"],"bs":["Bosnian","Bosanski"],"ca":["Catalan","Catal\u00e0"],"cs":["Czech","\u010ce\u0161tina"],"cy":["Welsh","Cymraeg"],"da":["Danish","Dansk"],"de":["German","Deutsch"],"dz":["Dzongkha","\u0f62\u0fab\u0f7c\u0f44\u0f0b\u0f41"],"el":["Greek","\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"],"en":["English","English"],"en-x-simple":["Simple English","Simple English"],"eo":["Esperanto","Esperanto"],"es":["Spanish","Espa\u00f1ol"],"et":["Estonian","Eesti"],"eu":["Basque","Euskera"],"fa":["Persian, Farsi","\u0641\u0627\u0631\u0633 |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
brew install [email protected]
Currently devel doesn't allow to override KINT configuration in a clean way. Hopefully this will be possible some day via setting in UI or drupal setting override in settings.php Until this happens you may use this dirty trick in settings.php to override the setting.
See issues:
Simply copy this into your settings.php and change the value accordingly (Kint default: 7)
| sed -i "/^uuid:/d;/^_core:/d;/^ default_config_hash:/d" * |
This tutorial covers common use cases for configuration splits as a strategy for configuration management in Drupal 8.
Specifically it covers: