
The digest of interesting materials from the world of Drupal # 4
Hello!
The most interesting and useful from the world of Drupal over the past 3 weeks.

Our regular column for beginners.
Drupal outside code:

Writing Drupal articles for the benefit of the community? Please contact us: Oleg Kot , Katya Marshalkina .
The most interesting and useful from the world of Drupal over the past 3 weeks.

In Russian
- The first steps in the development of Twitter Bootstrap and Drupal will help to make the article Bootstrap + Drupal 7: quick excursion for beginners .
- Another double-edged Drupal tool worth knowing: hook_module_implements_alter () .
- @xandeadx shares a gentlemanly set of modules .
- Habré published the article Configuration Management in Drupal 8, a review for developers . If any of the examples no longer works, check out Change records , where all API changes are logged.
- Brevity is the soul of wit. Micro-Council - global $ user in functions . Yes, and of course, call this parameter $ account, not $ user :)
Drupal-lite
Our regular column for beginners.
- A simple example of customizing a contact form: change the title and redirection .
- We study field templates in Display Suite , calmly, step by step, with screenshots.
- Using the Workbench family of modules, you can organize a flexible moderation and workflow system on the site. For an example of adding a new document state, see Add a New Moderation State Tab to Workbench .
- 5 anti-spam modules + the same amount in the comments. I lit up and the Simple Anti-Spam .
- In Drupal, it just
$(function() {})
doesn’t. Details about the Javascript and Drupal behaviors , see the article lullabotov fresh.
Drupal and Git
- For those who have not yet made a single commit in their life, the author of the CodeKarate Drupal blog burst into a series of articles on Git: 1 , 2 , 3 , 4 , 5 .
- The article “Git setup with hook for post-receive” discusses a way to avoid storing the Git repository in the docroot of your server, based on automatic synchronization using post-receive hooks.
- Quite often, you have to deal with several remote Git repositories at the same time, for example, with the Drupal kernel code and the code of the developed site. In this case, a problem arises when with the original repository we also drag out its entire history, and this can significantly affect its place. The article “Multiple git remotes, the --depth parameter and repo size” provides a solution to this problem.
Everything for a Drupal Developer
- The article “Rapid Drupal Scaffolding with Yeoman” discusses issues of generating code for entities, modules, etc. template-based with Yeoman Generator . In the sequel, you should read the article “Creating Custom Ctools Layout Plugins with Yeoman” , which is devoted to the generation of plugins for Ctools, as well as with “Yo Hedley!” on the subject of Headless Drupal. Now you know everything about Yeoman!
- Modern page development often involves the use of panels, Views, and other features that ultimately become portable using the Features module . The article “Code Management in Drupal 7 using Features, Ctools, and Panels” discusses the issues of creating listings using standard tools (EntityFieldQuery, etc.), and not using the Views module, with the focus on the proper integration of all this stuff with the module Panels, and the subsequent packing in a feature.
- Drush continues to acquire beautiful sites with documentation: http://docs.drush.org/en/master/ has been added to http://drushcommands.com/ .
- By the way, Drush can be launched automatically through Grunt , if you really want to.
- Drupal caching is always a hot topic. We delve into the wilds of the kernel to understand why the page cache for anonymous users does not work out. You can read the same topic at 2bits .
- How to use my theme function for a form? Useful when layout is very specific.
Drupal 8
- Career-Drupal developer from WebOmelette: 6 steps required to become a developer of Drupal 8 .
- A short basic course (again, for the developer) is called “Drupal 8 in 2 steps”. Why should there be exactly two steps - ask for help from the audience :)
- The third step is logical to put the study of Twig (the new template engine, which replaced PHPTemplate) for the article “Gettin` Twiggy” .
- The next beta (sixth) Drupal 8 has been released . Unfortunately, there is still no normal Upgrade path .
- A series of articles continues to be published on the software extension of the Views module: fields , filters .
- Gabor Hojtsy continues to delight everyone with his work for the benefit of internationalization, and in his Drupal 8 multilingual tidbits series , the seventeenth (!) Article called Content translation has already appeared .
- Drupal Watchdog magazine has published an article on creating interactive tours in Drupal 8.
- If you were looking for clear definitions of various terms in Drupal related to the operation of menus (menu, path, uri), then we recommend that you read the article “How does Drupal use these different terms? Route, Path, URL, URI, Link, Menu item “ .
- A note on why annotations are needed both in general and in Drupal in particular.
Business and Community
Drupal outside code:

- A few weeks ago, the community actively retweeted articles about using Drupal in the Smart Home . And although the authors mercilessly exploit all the bad practices that can be found in Drupal, it's still a lot of fun.
- Chx leaves again, now from the Drupal Planet aggregator. The friendly Drupal community loves him very much and hopes that he will be back soon, rested and with magnets :)
- DrupalCon Latin America begins , which means that there will be many new videos coming soon.
- The association published the membership of the Drupalcons in 2014 .
Interesting modules
- Views Fast Field - displaying fields of an entity without loading the entity itself.
- Views Accelerator - automatic optimization of the post execute phase of Views with analysis, statistics, when standard caching by time is not enough. Effective for working with geodata, fields with prefixes and suffixes, etc.
- Memcache Storage is an alternative to the Memcache module, which provides Drupal integration with Memcached for high performance. Memcache Storage has a number of additional features compared to the original.
- Corresponding Entity References - if entity A refers to entity B, and entity B refers to A, then when updating or deleting original entities, the connection may become incorrect. This module solves this problem.
- Translation Management Tool - a toolkit for translating content from various sources, including manual, machine and integration with any translation services.
- Drupal Issue Tracking is an extension for Chrome that allows you to monitor the status of any tickets (issue) from Drupal.org.
- Apido is a user script (userscript) for Chrome / Opera / Firefox that highlights variables and braces when displaying the code on api.drupal.org and drupalcode.org.
- Pushbullet API - sending push notifications to mobile devices, as well as to your browsers ( article ).
- Machine Name - adds a field for storing a machine name (stores an alphanumeric value that must be unique and rarely change ( article ).
Writing Drupal articles for the benefit of the community? Please contact us: Oleg Kot , Katya Marshalkina .