REST Interface

Mobile apps can register the device by calling the REST interface provided by the Services module. Don't forget to enable the push_notifications resource. This module adds a permission called 'register device token'. On y roles with this permission may register a device token throuh a service. This module should work with both anonymous and authenticated users.

Arguments

This service requires 2 arguments:

Macros in Twig Templates

From the official Twig documentation: "Macros are comparable with functions in regular programming languages. They are useful to put often used HTML idioms into reusable elements to not repeat yourself."

In Drupal 8 a macro is used to create eg. the main navigation (see the menu.html.twig file).

Drupal Open Curriculum Initiative

Objective

The objective of this initiative is to create an Open Curriculum for new developers to come into Drupal and get trained in the various aspects of Drupal development. The curriculum is aimed at helping Drupal companies train new recruits in Drupal in a systematic and structured manner. The training is expected to happen through in-class sessions, self-learning, training exercises and finally on-the-job learning. The open curriculum is expected to be a framework that will allow the developers to build an understanding of the technology and then fill in details as they go through the process of training and working on projects. See more at https://groups.drupal.org/node/508323

Drupal development roadmap

Pages

Subscribe with RSS Subscribe to RSS - Intermediate