Now
- Messages are stored and get a language and ID
- Views integration
- View listing submitted messages
- Ability to view, edit and delete submitted messages
- Ability to change the 'Send message' button text
- Ability to disable the preview button
| parameters: | |
| http.response.debug_cacheability_headers: true | |
| twig.config: | |
| debug : true | |
| auto_reload: true | |
| cache: false |
| diff --git a/modules/views/js/ajax_view.js b/modules/views/js/ajax_view.js | |
| index 6422dd0..b67be7b 100644 | |
| --- a/modules/views/js/ajax_view.js | |
| +++ b/modules/views/js/ajax_view.js | |
| @@ -162,9 +162,7 @@ | |
| $.extend( | |
| viewData, | |
| this.settings, | |
| - Drupal.Views.parseQueryString(href), | |
| - // Extract argument data from the URL. |
| <h2>Overview</h2> | |
| <p>{module name} provides</p> | |
| <h2>Features</h2> | |
| <ul> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| </ul> | |
| <h2>Requirements</h2> |
| " | |
| <div class="inbentaStep2Search" data-bhw="nlp_inbenta_search_input__Refused__"><!-- HELP WIZARD ANSWERS --> | |
| <div class="instantTitle suggestedTopics">SUGGESTED HELP TOPICS</div> | |
| <div class="hwcontents resultsblock"> | |
| <div class="hwresults"> | |
| <div class="hwresult"> | |
| <div class="hwtitle"> | |
| <div class="link" inbenta_hwstep="step2" inbenta_logid="" inbenta_question="refused" | |
| inbenta_contentid="10" title="Can I edit my shipping address?" | |
| data-bhw="nlp_inbenta_content__CanIEditMyShippingAddress__"> Can I edit my shipping address? |
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\search_config\Plugin\Search\ConfigurableNodeSearch. | |
| */ | |
| namespace Drupal\search_config\Plugin\Search; | |
| use Drupal\Core\Database\StatementInterface; |
| --- mon-put-instance-data.pl.orig 2015-11-11 04:24:50.668994999 -0500 | |
| +++ mon-put-instance-data.pl 2015-11-11 04:27:18.760994999 -0500 | |
| @@ -115,6 +115,7 @@ | |
| my $report_disk_util; | |
| my $report_disk_used; | |
| my $report_disk_avail; | |
| +my $instance_id; | |
| my $mem_used_incl_cache_buff; | |
| my @mount_path; | |
| my $mem_units; |
h2. Debugging with PHPStorm
You can readily setup a phpstorm debugger with the following config:
Just configure the directory and file paths accordingly. This screenshot is debugging a particular scenario in a particular feature.
When you have this created, select it in the 'configuration' dropdown and choose the debug button, make sure you have set your breakpoints
| <?php | |
| /** | |
| * Creates an FPP. | |
| */ | |
| function mymodule_update_7001() { | |
| $values = array( | |
| 'title' => 'Title seen in front end', | |
| 'admin_title' => 'Title seen in back end', | |
| // Make this the machine name of the FPP type. |
| <?php | |
| /** | |
| * @file | |
| * Contains Drupal\modal_test\Controller\ModalForm. | |
| */ | |
| namespace Drupal\modal_test\Controller; | |