api

11
Jan
2013
Grayside

Programmatically Save a Block Configuration

It looks like the Block API still leaves something to be desired: The only way to “properly” save the various region, title, and visibility settings of a block is using a form submission. This is a bit of a work-in-progress as far as documentation, but the function works as a simple wrapper of the form submit.

11
Dec
2012
Grayside

Guzzle for Drupal: SDK Building

For the last few months I’ve (intermittently) been thinking about how to build a nice PHP SDK for working with external APIs from PHP applications, and Drupal in general.

This post is a sort of round up of my thoughts, hopefully I’ll find time to complete this project so I can post a detailed followup.

Read on for a quick snapshot on why I like Guzzle and how I plan to use it.

Subscribe to RSS - api