By editor, 18 May, 2016 JSON Encode and Decode Tags Drupal 8 Code JSON Example : use Drupal\Component\Serialization\Json; $json = Json::encode($data); $data = Json::decode($json);
By editor, 18 May, 2016 Call URL on Drupal 8, Like drupal_http_request() on D7 Tags Drupal 8 Code Example :
By editor, 17 May, 2016 Migrate from Drupal7 to Drupal8 Tags Drupal 8 Code Drush Example (basic) drush migrate-upgrade --legacy-db-url=mysql://user:password@server/db --legacy-root=http://mydrupal6or7site.com
By editor, 11 May, 2016 Add twig template to a custom Module, Block or Page Tags Drupal 8 Code Theming Twig Step 1. Create your module and Block (/tutoriels/107/create-a-simple-block-programmatically)
By editor, 10 May, 2016 Add Remove Fields Dynamically using Form API and Ajax Tags Drupal 8 Code Form Example: Add/Remove 'test' Field depending on 'switch' field
By editor, 8 May, 2016 Install and Update Drush on Linux Tags Drupal 8 Code Drush # Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases. # Example: drush 8.4.5 php -r readfile('https://github.com/drush-ops/drush/releases/download/8.4.5/drush.phar'); > drush #OR
By editor, 26 April, 2016 Replacement Patterns Tags Drupal 8 Code Views Examples of Available replacement patterns: [title] == [body] == Body [body-value] == Raw value [body-summary] == Raw summary [body-format] == Raw format
By editor, 15 April, 2016 Views with custom Tables - hook_views_data Tags Drupal 8 Code Views Hook Officiel Documentation : https://api.drupal.org/api/drupal/core!modules!views!views.api.php/function/hook_views_data/8 Use multiple database conncetion with views_data() For that you must add 'database'
By editor, 14 April, 2016 Create new content type programmatically using Configuration API Tags Drupal 8 Code Module Module Name = my_module Content Type = my_new_content Create content type Put this two files into my_module/config/install/