PHPStorm 8 supports most D8 features including Twig templates, container links, namespaces etc. To enable full support:
- Log into the admin section at localhost:8888/user.
- Make sure that the following plugins are enabled:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| <?xml version="1.0"?> | |
| <root> | |
| <item> | |
| <name>Remap Left Control to Hyper</name> | |
| <appendix>OS X doesn't have a Hyper. This maps Left Control to Control + Shift + Option + Command.</appendix> | |
| <identifier>space_cadet.left_control_to_hyper</identifier> | |
| <autogen> | |
| --KeyToKey-- |
| diff --git a/composer.json b/composer.json | |
| index 4aeec9e..244b773 100644 | |
| --- a/composer.json | |
| +++ b/composer.json | |
| @@ -11,7 +11,7 @@ | |
| "repositories": [ | |
| { | |
| "type": "composer", | |
| - "url": "https://packagist.drupal-composer.org" | |
| + "url": "https://packages.drupal.org/8" |
PHPStorm 8 supports most D8 features including Twig templates, container links, namespaces etc. To enable full support:
| <?php | |
| /** | |
| * @file | |
| * Install, update and uninstall functions for mymodule. | |
| */ | |
| /** | |
| * Update the schema for my entity. | |
| */ |
| ts := $(shell /bin/date "+%Y%m%d%H%M%S") | |
| root_domain := example.com | |
| archive_file := ${root_domain}-archive-$(ts) | |
| all: clean generate | |
| clean: | |
| rm -rf *o archive; | |
| rm -rf *o ${root_domain}-archive*.tar.gz; |
| server { | |
| listen [::]:8080; | |
| listen 8080; | |
| server_name unifi.shomeyabuild.space; | |
| access_log /var/log/nginx/unifi-access.log; | |
| error_log /var/log/nginx/unifi-error.log; | |
| location / { | |
| gzip on; |
| server { | |
| listen [::]:6789; | |
| listen 6789; | |
| server_name unifi.shomeyabuild.space; | |
| access_log /var/log/nginx/unifi-access.log; | |
| error_log /var/log/nginx/unifi-error.log; | |
| location / { | |
| gzip on; |
| <?php | |
| class WaitingQueueSignalHandler { | |
| /** | |
| * Flag indicating that a restart is necessary. | |
| * | |
| * @var bool | |
| */ | |
| protected $rebootRequired = FALSE; | |
| /** |
| <?php | |
| namespace Drupal\waiting_queue\Command; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| use Symfony\Component\Console\Command\Command; | |
| use Drupal\Console\Core\Command\Shared\ContainerAwareCommandTrait; | |
| use Drupal\Console\Core\Style\DrupalStyle; | |
| use Drupal\Console\Annotations\DrupalCommand; |