By editor, 3 March, 2017 Create a View Plugin Without using Database field Tags Drupal 8 Code Module Views Step 1. Create a custom module and add the HOOK hook_views_data_alter(&$data). Here module : mymodule Step 2. Alter views data, Example
By editor, 20 February, 2017 Override 40x System error pages on Drupal 8 Tags Drupal 8 Code You have several mthodes to override 403 / 404 System pages. Method 1. Set 403 / 404 pages. You can set the 403 /404 page on "Basic site settings" page Admin -> Configuration -> System -> Basic site settings Path /admin/config/system/site-information
By editor, 13 February, 2017 Avoid email send by Php/Drupal mark as spam Tags PHP Server Linux An email is classified as spam or not spam on the receiving end, not the sending end. But you can improve
By editor, 10 February, 2017 Render a Render array to HTML code. Tags Drupal 8 Code Module Example : $result = array( '#markup' => 'Hello. This is my First Page', ); $renderer = \Drupal::service('renderer'); $html = $renderer->render($result);
By editor, 10 February, 2017 Insert a view on a custom page or block Tags Drupal 8 Code Views This tutorial show toy how to insert an existing views into a custom page or custom block.