Is a good practice to inject a service whenever is possible.
Reading the code on the Drupal
Class you can find the httpClient
method:
/**
INSERT INTO taxonomy_index (nid,tid,sticky,created) SELECT * FROM old.taxonomy_index; |
# 01 - Update your system | |
sudo apt-get update | |
sudo apt-get upgrade | |
# sudo apt-get dist upgrade | |
# 02 - Install additional drivers | |
# Software & Updates - Additional Drivers | |
# 03 - Install Multimedia Codecs and Enable DVD Playback | |
sudo apt-add-repository ppa:mc3man/trusty-media |
Test - https://phpunit.de/
PSR1 & PSR2 (coding standards)
Review the program http://drupalladder.org/ this contains (or links to) lessons and materials to help people learn about and contribute to Drupal. The site was created by theBoston Initiative to help Drupal user groups develop and share and develop materials for learn sprints and issue sprints.
https://groups.drupal.org/drupal-ladder
https://drupalize.me/videos/overview-learn-drupal-ladder?p=1176
https://drupalize.me/guides/drupal-community-tools-and-core-mentoring
<VirtualHost *:80> | |
DocumentRoot /Users/jmolivas/develop/symfony/sf2.dev/web | |
ServerName sf2.dev | |
DirectoryIndex app_dev.php | |
<Directory /Users/jmolivas/develop/symfony/sf2.dev/web> | |
AllowOverride None | |
Allow from All | |
<IfModule mod_rewrite.c> | |
Options -MultiViews | |
RewriteEngine On |
services: | |
logger.jolinotif: | |
class: Drupal\jolinotif\Logger\JolinotifLog | |
arguments: ['@logger.log_message_parser'] | |
tags: | |
- { name: logger } |
<?php | |
/** | |
* @file | |
* Contains \Drupal\jolinotif\Logger\JolinotifLog. | |
*/ | |
namespace Drupal\jolinotif\Logger; | |
use Drupal\Core\Logger\LogMessageParserInterface; |