REST mode in Drupal 8

Submitted by nmeegama on Mon, 06/20/2016 - 10:32

As you might already know Drupal 8 contains a web services layer out of the box. Therefore we can now easily create a RESTful Architecture by exposing Drupal's data to a third party application. REST stands for Representational State Transfer. It is a set of design principles for making network communication more scalable and flexible.

DrupalCon Asia - 2016

Submitted by nmeegama on Fri, 02/19/2016 - 09:36

Drupal - The perfect frontend for document management

A common problem with Document Management Systems (DMS) is the fact that they don’t have a very user-friendly Interface. To build one, is a complex and time consuming process. Drupal can solve this problem by integrating with any document management system and provide a more intutive user experience.

Programatically adding taxonomy terms as a Hierachy

Submitted by nmeegama on Fri, 09/05/2014 - 21:00

Problem

We can programatically add taxonomies, thats easy but adding it as a child term is the hard part

Solution

We need to fist create a validation function dedicated for the term reference filed 

$form[TAG_FIELD_NAME]['#element_validate'][] = 'taxonomy_field_tags_validate';